info.aduna.lang.reflect
Class TypeInstantiationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
info.aduna.lang.reflect.TypeInstantiationException
- All Implemented Interfaces:
- Serializable
public class TypeInstantiationException
- extends Exception
Thrown by KeyedObjectFactory to indicate that it failed to create an
instance of a certain type. The cause of the error is wrapped inside this
exception.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
TypeInstantiationException
public TypeInstantiationException(Throwable cause)
- Creates a new TypeInstantiationException.
- Parameters:
cause - The cause of the exception.
TypeInstantiationException
public TypeInstantiationException(String msg,
Throwable cause)
- Creates a new TypeInstantiationException wrapping another exception.
- Parameters:
msg - An error message.cause - The cause of the exception.
Copyright © 1997-2008 Aduna. All Rights Reserved.