org.exoplatform.social.client.api.event
Class LifecycleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.exoplatform.social.client.api.event.LifecycleException
All Implemented Interfaces:
Serializable

public final class LifecycleException
extends RuntimeException

General purpose exception that is thrown to indicate a lifecycle related problem. Such exceptions should generally be considered fatal to the operation of the application containing this component.

See Also:
Serialized Form

Field Summary
protected  Throwable cause
          The underlying exception or error passed to our constructor (if any)
protected  String message
          The error message passed to our constructor (if any)
 
Constructor Summary
LifecycleException()
          Construct a new LifecycleException with no other information.
LifecycleException(String message)
          Construct a new LifecycleException for the specified message.
LifecycleException(String message, Throwable cause)
          Construct a new LifecycleException for the specified message and throwable.
LifecycleException(Throwable cause)
          Construct a new LifecycleException for the specified throwable.
 
Method Summary
 Throwable getCause()
          Returns the throwable that caused this exception, if any.
 String getMessage()
          Returns the message associated with this exception, if any.
 String toString()
          Returns a formatted string that describes this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

message

protected String message
The error message passed to our constructor (if any)


cause

protected Throwable cause
The underlying exception or error passed to our constructor (if any)

Constructor Detail

LifecycleException

public LifecycleException()
Construct a new LifecycleException with no other information.


LifecycleException

public LifecycleException(String message)
Construct a new LifecycleException for the specified message.

Parameters:
message - Message describing this exception

LifecycleException

public LifecycleException(Throwable cause)
Construct a new LifecycleException for the specified throwable.

Parameters:
cause - Throwable that caused this exception

LifecycleException

public LifecycleException(String message,
                          Throwable cause)
Construct a new LifecycleException for the specified message and throwable.

Parameters:
message - Message describing this exception
cause - Throwable that caused this exception
Method Detail

getMessage

public String getMessage()
Returns the message associated with this exception, if any.

Overrides:
getMessage in class Throwable

getCause

public Throwable getCause()
Returns the throwable that caused this exception, if any.

Overrides:
getCause in class Throwable

toString

public String toString()
Returns a formatted string that describes this exception.

Overrides:
toString in class Throwable


Copyright © 2011 eXo Platform. All Rights Reserved.