CategoryNotAssignedException.php (360B)
1 <?php 2 3 namespace PartKeepr\PartBundle\Exceptions; 4 5 use PartKeepr\CoreBundle\Exceptions\TranslatableException; 6 7 /** 8 * This exception is thrown when a part hasn't got a category assigned. 9 */ 10 class CategoryNotAssignedException extends TranslatableException 11 { 12 public function getMessageKey() 13 { 14 return 'The part has no category assigned'; 15 } 16 }