org.opensubsystems.core.error
Class OSSException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.opensubsystems.core.error.OSSException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
OSSConcurentModifyException, OSSConfigException, OSSDatabaseAccessException, OSSDataCreateException, OSSDataDeleteException, OSSDataNotFoundException, OSSDataSaveException, OSSDynamicClassException, OSSInconsistentDataException, OSSInternalErrorException, OSSInvalidContextException, OSSMultiException

public abstract class OSSException
extends java.lang.Exception

Base class for all custom exceptions created in this project. All custom exceptions should be derived from this base class so that it is easy to separate exception handling for exception generated by our code from exceptions from other 3rd party components, java, etc.

Version:
$Id: OSSException.java,v 1.4 2007/01/07 06:14:50 bastafidli Exp $
Author:
Miro Halas
See Also:
Serialized Form
Code reviewer:
Miro Halas
Code reviewed:
1.2 2004/12/18 06:18:31 bastafidli

Constructor Summary
OSSException()
          Create new exception
OSSException(java.lang.String message)
          Create new exception
OSSException(java.lang.String message, java.lang.Throwable cause)
          Create new exception
OSSException(java.lang.Throwable cause)
          Create new exception
 
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

OSSException

public OSSException()
Create new exception


OSSException

public OSSException(java.lang.String message)
Create new exception

Parameters:
message - - message to display

OSSException

public OSSException(java.lang.String message,
                    java.lang.Throwable cause)
Create new exception

Parameters:
message - - message to display
cause - - cause for error

OSSException

public OSSException(java.lang.Throwable cause)
Create new exception

Parameters:
cause - - cause for error


Copyright © 2003 - 2006 OpenSubsystems s.r.o.