Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try
- {
- read()
- }
- catch(\Base\Component\Throwable\ArgumentNullException $e) { }
- catch(\Base\Component\Throwable\ArgumentEmptyException $e) { }
- catch(\Base\Component\Throwable\ArgumentExpectedException $e) { }
- catch(\Base\Component\Throwable\FieldNotFoundException $e) { }
- catch(\Base\Component\Throwable\FieldAccessWriteException $e) { }
- catch(\Base\Component\Throwable\FieldAccessLockedException $e) { }
- // or
- try
- {
- read()
- }
- catch(FileComponentException $e)
- {
- if($e->hasCatched('Base\Component\Throwable\ArgumentNullException'))
- solution();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement