Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Foo
- def hi
- # your code here....
- rescue => e
- # Raise error here
- end
- def hello
- # your code here...
- rescue => e
- # Raise error here
- end
- end
- class FooAbstract {
- public function __call($name, $args) {
- # Try catch in here...
- }
- }
- class Foo extends FooAbstract {
- public function hi() {
- # Code with try catch...
- }
- }
Add Comment
Please, Sign In to add comment