Advertisement
Guest User

Untitled

a guest
Jul 15th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. try {
  2. throw new BadRequestHttpException("Error in Register of your Company");
  3. } catch (BadRequestHttpException $e) {
  4. throw $e
  5. }
  6.  
  7. $badRequest = BadRequestHttpException("Error in Register of your Company");
  8.  
  9. try {
  10. throw new $badRequest;
  11. } catch (BadRequestHttpException $e) {
  12. throw $e
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement