org.apache.servicemix.jbi.audit
Class AuditorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.jbi.JBIException
              extended by org.apache.servicemix.jbi.audit.AuditorException
All Implemented Interfaces:
Serializable

public class AuditorException
extends JBIException

AuditorException is the exception that can be thrown by the AuditorMBean when an error occurs accessing the data store when performing an operation.

Since:
2.1
Version:
$Revision: 7323 $
Author:
Guillaume Nodet (gnt)
See Also:
Serialized Form

Constructor Summary
AuditorException(String aMessage)
          Constructs a new AuditorException with the specified detail message.
AuditorException(String aMessage, Throwable aCause)
          Constructs a new AuditorException with the specified detail message and cause.
AuditorException(Throwable aCause)
          Constructs a new AuditorException with the specified cause and a detail message of (cause==null ?
 
Method Summary
 
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

AuditorException

public AuditorException(String aMessage)
Constructs a new AuditorException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).

Parameters:
aMessage - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.

AuditorException

public AuditorException(String aMessage,
                        Throwable aCause)
Constructs a new AuditorException with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

Parameters:
aMessage - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
aCause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

AuditorException

public AuditorException(Throwable aCause)
Constructs a new AuditorException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for exceptions that are little more than wrappers for other throwables (for example, PrivilegedActionException).

Parameters:
aCause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.