org.ikasan.framework
Class FrameworkException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.resource.ResourceException
              extended by org.ikasan.common.CommonException
                  extended by org.ikasan.framework.FrameworkException
All Implemented Interfaces:
Serializable

public class FrameworkException
extends CommonException

FrameworkException exception extends the CommonException to allow categorisation of the thrown exception at the point it is thrown. If no ExceptionType is specified a default of UNDEFINED will be used.

Author:
Ikasan Development Team
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ikasan.common.CommonException
exceptionType
 
Constructor Summary
FrameworkException()
          Constructs a new framework exception with null as its detail message and an UNDEFINED ExceptionType.
FrameworkException(ExceptionType exceptionType)
          Constructs a new framework exception with null as its detail message and a specified exception type.
FrameworkException(String message)
          Constructs a new framework exception with the specified detail message and an UNDEFINED ExceptionType.
FrameworkException(String message, ExceptionType exceptionType)
          Constructs a new framework exception with the specified detail message and given ExceptionType.
FrameworkException(String message, Throwable cause)
          Constructs a new framework exception with the specified detail message and cause and an UNDEFINED ExceptionType.
FrameworkException(String message, Throwable cause, ExceptionType exceptionType)
          Constructs a new framework exception with the specified detail message and cause and the specified exception type.
FrameworkException(Throwable cause)
          Constructs a new framework exception with the specified cause and an UNDEFINED ExceptionType.
FrameworkException(Throwable cause, ExceptionType exceptionType)
          Constructs a new framework exception with the specified cause and the specified exception type.
 
Method Summary
 
Methods inherited from class org.ikasan.common.CommonException
getExceptionType, setExceptionType
 
Methods inherited from class javax.resource.ResourceException
getErrorCode, getLinkedException, setErrorCode, setLinkedException, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FrameworkException

public FrameworkException()
Constructs a new framework exception with null as its detail message and an UNDEFINED ExceptionType.


FrameworkException

public FrameworkException(ExceptionType exceptionType)
Constructs a new framework exception with null as its detail message and a specified exception type.

Parameters:
exceptionType - the exception type

FrameworkException

public FrameworkException(String message)
Constructs a new framework exception with the specified detail message and an UNDEFINED ExceptionType.

Parameters:
message - the detail message.

FrameworkException

public FrameworkException(String message,
                          ExceptionType exceptionType)
Constructs a new framework exception with the specified detail message and given ExceptionType.

Parameters:
message - the detail message.
exceptionType - the exception type

FrameworkException

public FrameworkException(String message,
                          Throwable cause)
Constructs a new framework exception with the specified detail message and cause and an UNDEFINED ExceptionType.

Parameters:
message - the detail message.
cause - the cause.

FrameworkException

public FrameworkException(String message,
                          Throwable cause,
                          ExceptionType exceptionType)
Constructs a new framework exception with the specified detail message and cause and the specified exception type.

Parameters:
message - the detail message.
cause - the cause.
exceptionType - the exception type

FrameworkException

public FrameworkException(Throwable cause)
Constructs a new framework exception with the specified cause and an UNDEFINED ExceptionType.

Parameters:
cause - the cause

FrameworkException

public FrameworkException(Throwable cause,
                          ExceptionType exceptionType)
Constructs a new framework exception with the specified cause and the specified exception type.

Parameters:
cause - the cause
exceptionType - the exception type


Copyright © 2007-2012 Ikasan. All Rights Reserved.