File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77use Interop \Queue \Destination ;
88use Interop \Queue \Exception \InvalidDestinationException ;
99use Interop \Queue \Exception \InvalidMessageException ;
10+ use Interop \Queue \Exception \PriorityNotSupportedException ;
1011use Interop \Queue \Message ;
1112use Interop \Queue \Producer ;
1213
@@ -59,7 +60,7 @@ public function setPriority(int $priority = null): Producer
5960 return $ this ;
6061 }
6162
62- throw new \ LogicException ( ' Not implemented ' );
63+ throw PriorityNotSupportedException :: providerDoestNotSupportIt ( );
6364 }
6465
6566 public function getPriority (): ?int
Original file line number Diff line number Diff line change 77use Interop \Queue \Destination ;
88use Interop \Queue \Exception \InvalidDestinationException ;
99use Interop \Queue \Exception \InvalidMessageException ;
10+ use Interop \Queue \Exception \PriorityNotSupportedException ;
1011use Interop \Queue \Message ;
1112use Interop \Queue \Producer ;
1213use Pheanstalk \Pheanstalk ;
@@ -75,7 +76,7 @@ public function setPriority(int $priority = null): Producer
7576 return $ this ;
7677 }
7778
78- throw new \ LogicException ( ' Not implemented ' );
79+ throw PriorityNotSupportedException :: providerDoestNotSupportIt ( );
7980 }
8081
8182 public function getPriority (): ?int
Original file line number Diff line number Diff line change 77use Interop \Queue \Destination ;
88use Interop \Queue \Exception \InvalidDestinationException ;
99use Interop \Queue \Exception \InvalidMessageException ;
10+ use Interop \Queue \Exception \PriorityNotSupportedException ;
1011use Interop \Queue \Message ;
1112use Interop \Queue \Producer ;
1213use RdKafka \Producer as VendorProducer ;
@@ -70,7 +71,7 @@ public function setPriority(int $priority = null): Producer
7071 return $ this ;
7172 }
7273
73- throw new \ LogicException ( ' Not implemented ' );
74+ throw PriorityNotSupportedException :: providerDoestNotSupportIt ( );
7475 }
7576
7677 public function getPriority (): ?int
Original file line number Diff line number Diff line change 77use Interop \Queue \Destination ;
88use Interop \Queue \Exception \InvalidDestinationException ;
99use Interop \Queue \Exception \InvalidMessageException ;
10+ use Interop \Queue \Exception \PriorityNotSupportedException ;
1011use Interop \Queue \Message ;
1112use Interop \Queue \Producer ;
1213use Ramsey \Uuid \Uuid ;
@@ -94,7 +95,7 @@ public function setPriority(int $priority = null): Producer
9495 return $ this ;
9596 }
9697
97- throw new \ LogicException ( ' Not implemented ' );
98+ throw PriorityNotSupportedException :: providerDoestNotSupportIt ( );
9899 }
99100
100101 public function getPriority (): ?int
Original file line number Diff line number Diff line change 77use Interop \Queue \Destination ;
88use Interop \Queue \Exception \InvalidDestinationException ;
99use Interop \Queue \Exception \InvalidMessageException ;
10+ use Interop \Queue \Exception \PriorityNotSupportedException ;
1011use Interop \Queue \Message ;
1112use Interop \Queue \Producer ;
1213use Stomp \Client ;
@@ -64,7 +65,7 @@ public function setPriority(int $priority = null): Producer
6465 return $ this ;
6566 }
6667
67- throw new \ LogicException ( ' Not implemented ' );
68+ throw PriorityNotSupportedException :: providerDoestNotSupportIt ( );
6869 }
6970
7071 public function getPriority (): ?int
You can’t perform that action at this time.
0 commit comments