org.n52.connectors.core.exceptions
Class WrappedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.n52.connectors.core.exceptions.N52Exception
              extended by org.n52.connectors.core.exceptions.WrappedException
All Implemented Interfaces:
java.io.Serializable

public class WrappedException
extends N52Exception

Wrapper for non N52 exception to prevent a waterfall of exceptions generated by the framwork

Author:
martin schouwenburg
See Also:
Serialized Form

Constructor Summary
WrappedException(java.lang.Exception ex)
           
WrappedException(java.lang.Exception ex, org.apache.log4j.Logger logger, org.apache.log4j.Level level)
           
 
Method Summary
 void printStackTrace()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WrappedException

public WrappedException(java.lang.Exception ex,
                        org.apache.log4j.Logger logger,
                        org.apache.log4j.Level level)

WrappedException

public WrappedException(java.lang.Exception ex)
Method Detail

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable