org.objenesis
Class ObjenesisException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.objenesis.ObjenesisException
- All Implemented Interfaces:
- java.io.Serializable
public class ObjenesisException
- extends java.lang.RuntimeException
Exception thrown by Objenesis. It wraps any instantiation exceptions. Note that this exception is
runtime to prevent having to catch it. It will do normal exception wrapping for JDK 1.4 and more
and basic message wrapping for JDK 1.3.
- Author:
- Henri Tremblay
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ObjenesisException
public ObjenesisException(java.lang.String msg)
- Parameters:
msg
- Error message
ObjenesisException
public ObjenesisException(java.lang.Throwable cause)
- Parameters:
cause
- Wrapped exception. The message will be the one of the cause.
ObjenesisException
public ObjenesisException(java.lang.String msg,
java.lang.Throwable cause)
- Parameters:
msg
- Error messagecause
- Wrapped exception
Copyright © 2010. All Rights Reserved.