scs.core.exception
Class SCSException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by scs.core.exception.SCSException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FacetAlreadyExists, FacetDoesNotExist, InvalidComponentContextException, InvalidSchemaException, InvalidServantException, InvalidXMLException, NoComponentIdException, ReceptacleAlreadyExistsException, ReceptacleDoesNotExistException, SchemaNotFoundException

public class SCSException
extends Exception

This exception is the most basic SCS exception and other exceptions derive from it.

See Also:
Serialized Form

Constructor Summary
SCSException(String message)
          Default constructor.
SCSException(String message, Throwable cause)
           
SCSException(Throwable cause)
          Constructor that accepts a Throwable as a cause.
SCSException(UserException cause)
          Constructor that accepts an UserException as a cause.
 
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

SCSException

public SCSException(String message)
Default constructor.


SCSException

public SCSException(UserException cause)
Constructor that accepts an UserException as a cause.

Parameters:
cause - The UserException object.

SCSException

public SCSException(Throwable cause)
Constructor that accepts a Throwable as a cause.

Parameters:
cause - The Throwable object.

SCSException

public SCSException(String message,
                    Throwable cause)


Copyright © 2014. All Rights Reserved.