aerogear-controller 1.0.0.M1

org.jboss.aerogear.controller.router.error
Class ErrorTarget

java.lang.Object
  extended by 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.


Constructor Summary
ErrorTarget()
           
 
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
 

Constructor Detail

ErrorTarget

public ErrorTarget()
Method Detail

error

public void error(Throwable throwable)
Simply logs the exception thrown.

Parameters:
throwable - the error to be logged.

aerogear-controller 1.0.0.M1

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.