org.jboss.aerogear.controller.router.error
Class ErrorTarget
java.lang.Object
org.jboss.aerogear.controller.router.error.ErrorTarget
public class ErrorTarget
- extends Object
ErrorHandler is used as default target for a Route when a route has not defined any
explicit error route.
|
Method Summary |
void |
error(Throwable throwable)
Simply logs the exception thrown. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorTarget
public ErrorTarget()
error
public void error(Throwable throwable)
- Simply logs the exception thrown.
- Parameters:
throwable - the error to be logged.
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.