org.aselect.system.exception
Class ASelectException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.aselect.system.exception.ASelectException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ASelectAttributesException, ASelectAuthorizationException, ASelectAuthSPException, ASelectCommunicationException, ASelectConfigException, ASelectDatabaseException, ASelectSAMException, ASelectStorageException, ASelectUDBException

public class ASelectException
extends java.lang.Exception

Standard A-Select exception.

Description:
This exception is thrown if an A-Select (sub)system fails.

Note: The message will be an error code.
see org.aselect.system.error.Errors for more information.


Concurrency issues:
-

Author:
Alfa & Ariss
See Also:
Serialized Form

Constructor Summary
ASelectException(java.lang.String sErrorCode)
          Creates a new instance.
ASelectException(java.lang.String sCode, java.lang.Throwable tCause)
          Create new instance with 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

ASelectException

public ASelectException(java.lang.String sErrorCode)
Creates a new instance.

Description:
Creates and initializes a new ASelectException with the given code.

Concurrency issues:
-

Preconditions:
sCode != null

Postconditions:
-

Parameters:
sErrorCode - The error code.

ASelectException

public ASelectException(java.lang.String sCode,
                        java.lang.Throwable tCause)
Create new instance with a cause.

Description:
Creates a new ASelectException with the given code and cause.

Concurrency issues:
-

Preconditions:
  • sCode != null
  • tCause != null

Postconditions:
-

Parameters:
sCode - The error code.
tCause - the error cause.


Copyright © 2008 SURFnet BV. All Rights Reserved.