Class RepositoryException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sun.enterprise.admin.servermgmt.RepositoryException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DomainException,InstanceException,InvalidConfigException
public class RepositoryException extends Exception
- Author:
- kebbs
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RepositoryException(String message)Constructs a new InstanceException object.RepositoryException(String message, Throwable cause)Constructs a new InstanceException object.RepositoryException(Throwable cause)Constructs a new InstanceException object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLocalizedMessage()If there is a cause, appends the getCause().getMessage() to the original message.StringgetMessage()If there is a cause, appends the getCause().getMessage() to the original message.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getMessage
public String getMessage()
If there is a cause, appends the getCause().getMessage() to the original message.- Overrides:
getMessagein classThrowable
-
getLocalizedMessage
public String getLocalizedMessage()
If there is a cause, appends the getCause().getMessage() to the original message.- Overrides:
getLocalizedMessagein classThrowable
-
-