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
Exception for when there are problems accessing the domain or instance folder, files or config- Since:
- Created on August 22, 2003, 11:21 AM
- 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 String
getLocalizedMessage()
If there is a cause, appends the getCause().getMessage() to the original message.String
getMessage()
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:
getMessage
in classThrowable
- Returns:
- the message
-
getLocalizedMessage
public String getLocalizedMessage()
If there is a cause, appends the getCause().getMessage() to the original message.- Overrides:
getLocalizedMessage
in classThrowable
- Returns:
- the message, localised
-
-