org.opensync.tools.exception
Class APSystemException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.opensync.tools.exception.OpenSyncException
              extended byorg.opensync.tools.exception.APSystemException
All Implemented Interfaces:
java.io.Serializable

public class APSystemException
extends OpenSyncException

Class for catching the Runtime Exceptions such as IndexOutOfBound, Invalid Arithmetic Operation, Database Exceptions or the dreaded "NullPointerException!!!!" etc etc...

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.opensync.tools.exception.OpenSyncException
errorCode, errorMsg, usrMsg
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
APSystemException(java.lang.String errorCode, java.lang.Throwable e)
          Creates a APSystemException.
APSystemException(java.lang.Throwable e)
          Creates a APSystemException.
 
Methods inherited from class org.opensync.tools.exception.OpenSyncException
action, getCause, getCode, getUserMessage, log
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

APSystemException

public APSystemException(java.lang.String errorCode,
                         java.lang.Throwable e)
Creates a APSystemException. Use this constructor when you know what Error Code should be set in the AssetPlusException


APSystemException

public APSystemException(java.lang.Throwable e)
Creates a APSystemException. Use this constructor when Error Code to be set in the AssetPlusException is not known. We try to find the actual Exception here, if we don't get it set the ErrorCode to be default for this type of Exception.



Copyright © 2004 sourceforge. All Rights Reserved.