sk.uniba.euromath.document.schema.impl.tools
Class ExceptionPackager
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
sk.uniba.euromath.document.schema.impl.tools.ExceptionPackager
- All Implemented Interfaces:
- Serializable
public class ExceptionPackager
- extends RuntimeException
Serves for moving exception. Derived from RuntimeException
it
doesn't need to be declared in throws
clause. Because of that
it can be thrown everywhere. If exception needs to be thrown in such method
(without throws clause), then that exception can be packaged into this
exception. Later you can catch this exception and get the original one.
- Author:
- Martin Vysny
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ExceptionPackager
public ExceptionPackager(Throwable cause)
- Construct the wrapper
- Parameters:
cause
- wrap this exception
Copyright © 2003-2006 null. All Rights Reserved.