org.tm4j.net
Class LocatorFactoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.tm4j.net.LocatorFactoryException
- All Implemented Interfaces:
- java.io.Serializable
- public class LocatorFactoryException
- extends java.lang.Exception
Indicates that a locator factory has encountered an unexpected condition.
The exception or error which represents that unexpected condition
is wrapped by this exception.
- Since:
- 0.6.0
- Author:
- Kal Ahmed
- See Also:
LocatorFactory
,
Serialized Form
Constructor Summary |
LocatorFactoryException(java.lang.String msg,
java.lang.Throwable cause)
Creates an exception which wraps a nested throwable. |
Method Summary |
java.lang.Throwable |
getCause()
|
java.lang.String |
getMessage()
Returns a displayable message for the exception. |
java.lang.String |
toString()
Returns a string representation of the exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LocatorFactoryException
public LocatorFactoryException(java.lang.String msg,
java.lang.Throwable cause)
- Creates an exception which wraps a nested throwable.
- Parameters:
msg
- The error message associated with this exception.cause
- The nested throwable which is wrapped by this exception.
getMessage
public java.lang.String getMessage()
- Returns a displayable message for the exception. The nested
throwable's message is also shown.
- Returns:
- The message associated with the exception.
toString
public java.lang.String toString()
- Returns a string representation of the exception. The nested
throwable's string representation is included in the returned
string.
- Returns:
- A string representation of the exception.
getCause
public java.lang.Throwable getCause()