com.zphinx.spine.exceptions
Class SpineException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.zphinx.spine.exceptions.SpineException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ResourceException, SpineApplicationException, SpineMessageException

public class SpineException
extends Exception

SpineException represents the common exception thrown by classes within the spine framework.

Version:
$1.0

Copyright ©Zphinx Software Solutions

Author:
David Ladapo
See Also:
Serialized Form

Constructor Summary
SpineException()
          Default Constructor - takes no arguments
SpineException(String message)
          Constructor with string parameter, denoting the default message to print
SpineException(String message, Throwable cause)
          Constructor with string and cause parameter, denoting the default message to print and the cause of the exception which may contain more error information
SpineException(Throwable cause)
          Constructor with cause parameter which denotes the cause of the exception which may contain more error information
 
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

SpineException

public SpineException()
Default Constructor - takes no arguments


SpineException

public SpineException(String message)
Constructor with string parameter, denoting the default message to print

Parameters:
message - The message to print

SpineException

public SpineException(Throwable cause)
Constructor with cause parameter which denotes the cause of the exception which may contain more error information

Parameters:
cause - The cause of the exception defined in a throwable object

SpineException

public SpineException(String message,
                      Throwable cause)
Constructor with string and cause parameter, denoting the default message to print and the cause of the exception which may contain more error information

Parameters:
message - The message to print
cause - The cause of the exception defined in a throwable object