org.optimizationservices.oscommon.exception
Class OSException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.optimizationservices.oscommon.exception.OSException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
OSilReadingException

public abstract class OSException
extends java.lang.Exception

The OSException class is the the parent class of all the Optimization Services related exception classes.

Since:
OS 1.0
Version:
1.0, 03/14/2004
Author:
Robert Fourer, Jun Ma, Kipp Martin
See Also:
Serialized Form

Constructor Summary
OSException()
          Default constructor.
OSException(java.lang.String message)
          Constructs a new exception with the specified detail message.
 
Method Summary
abstract  int getExceptionId()
          get exeption id
abstract  java.lang.String getExceptionName()
          get exception name
abstract  int getExceptionType()
          get exception type
static void main(java.lang.String[] args)
          main for test purposes.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OSException

public OSException()
Default constructor.


OSException

public OSException(java.lang.String message)
Constructs a new exception with the specified detail message.

Parameters:
message - holds the detail message.
Method Detail

getExceptionId

public abstract int getExceptionId()
get exeption id

Returns:
exception id

getExceptionName

public abstract java.lang.String getExceptionName()
get exception name

Returns:
exception name

getExceptionType

public abstract int getExceptionType()
get exception type

Returns:
exception type

main

public static void main(java.lang.String[] args)
main for test purposes.

Parameters:
argv - command line arguments.