StorageLocationNotAssignedException.php (383B)
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 storage location assigned. 9 */ 10 class StorageLocationNotAssignedException extends TranslatableException 11 { 12 public function getMessageKey() 13 { 14 return 'The part has no storage location assigned'; 15 } 16 }