org.aselect.system.exception
Class ASelectDatabaseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.aselect.system.exception.ASelectException
              extended by org.aselect.system.exception.ASelectDatabaseException
All Implemented Interfaces:
java.io.Serializable

public class ASelectDatabaseException
extends ASelectException

Database exception.

Description:
This exception is thrown if database functionality 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
ASelectDatabaseException(java.lang.String sCode)
          Create new instance.
ASelectDatabaseException(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

ASelectDatabaseException

public ASelectDatabaseException(java.lang.String sCode)
Create new instance.

Description:
Creates a new ASelectDatabaseException with the given code.

Concurrency issues:
-

Preconditions:
sCode != null

Postconditions:
-

Parameters:
sCode - The error code.

ASelectDatabaseException

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

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

Concurrency issues:
-

Preconditions:
Postconditions:
-

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


Copyright © 2008 SURFnet BV. All Rights Reserved.