org.opends.server.admin
Class AdminRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.opends.server.admin.AdminRuntimeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PropertyException

public abstract class AdminRuntimeException
extends java.lang.RuntimeException

Exceptions thrown when interacting with administration framework that applications are not expected to catch.

See Also:
Serialized Form

Constructor Summary
protected AdminRuntimeException(Message message)
          Create an admin runtime exception with a message.
protected AdminRuntimeException(Message message, java.lang.Throwable cause)
          Create an admin runtime exception with a message and cause.
 
Method Summary
 Message getMessageObject()
          Returns the message that explains the problem that occurred.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

AdminRuntimeException

protected AdminRuntimeException(Message message,
                                java.lang.Throwable cause)
Create an admin runtime exception with a message and cause.

Parameters:
message - The message.
cause - The cause.

AdminRuntimeException

protected AdminRuntimeException(Message message)
Create an admin runtime exception with a message.

Parameters:
message - The message.
Method Detail

getMessageObject

public Message getMessageObject()
Returns the message that explains the problem that occurred.

Returns:
Returns the message describing the problem that occurred (never null).