com.gargoylesoftware.htmlunit
Class ObjectInstantiationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.gargoylesoftware.htmlunit.ObjectInstantiationException
- All Implemented Interfaces:
- Serializable
public class ObjectInstantiationException
- extends RuntimeException
Thrown if an object could not be instantiated for some reason.
- Version:
- $Revision: 6204 $
- Author:
- Mike Bowler, Ahmed Ashour
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ObjectInstantiationException
public ObjectInstantiationException(String message,
Throwable cause)
- Creates a new instance.
- Parameters:
message - a message explaining the failurecause - the exception that was thrown
getCauseException
@Deprecated
public Throwable getCauseException()
- Deprecated. as of 2.9, please use
Throwable.getCause() instead
- Returns the exception that had been thrown during instantiation of the object.
- Returns:
- the cause exception
Copyright © 2002-2011 Gargoyle Software Inc.. All Rights Reserved.