com.sun.enterprise.admin.servermgmt
Class RepositoryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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
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
 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
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryException

public RepositoryException(String message)
Constructs a new InstanceException object.

Parameters:
message -

RepositoryException

public RepositoryException(Throwable cause)
Constructs a new InstanceException object.

Parameters:
cause -

RepositoryException

public RepositoryException(String message,
                           Throwable cause)
Constructs a new InstanceException object.

Parameters:
message -
cause -
Method Detail

getMessage

public String getMessage()
If there is a cause, appends the getCause().getMessage() to the original message.

Overrides:
getMessage in class Throwable

getLocalizedMessage

public String getLocalizedMessage()
If there is a cause, appends the getCause().getMessage() to the original message.

Overrides:
getLocalizedMessage in class Throwable


Copyright © 2012 GlassFish Community. All Rights Reserved.