org.genepattern.webservice
Class OmnigeneException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.genepattern.webservice.OmnigeneException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PropertyNotFoundException

public class OmnigeneException
extends java.lang.Exception

OmnigeneException is the superclass of all Omnigene exceptions that can be thrown during normal operation of the Omnigene system.

Version:
1.0, 05/08/2001, 1.1, 11/06/2001
See Also:
Serialized Form

Constructor Summary
OmnigeneException()
          Constructs a OmnigeneException with no detail message.
OmnigeneException(int errno)
          Constructs an OmnigeneException class with the specified detail message.
OmnigeneException(int errno, java.lang.String message)
          Constructs an OmnigeneException class with the specified detail message.
OmnigeneException(java.lang.String s)
          Constructs a OmnigeneException with the specified detail message.
 
Method Summary
 int getOmnigeneErrno()
          Return the Omnigene errno
 java.lang.String getOmnigeneMessage()
          Return the Omnigene error message that corresponds to the errno passed in.
 void log()
          Writes the exception message and a timestamp to the System.out file.
 
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

OmnigeneException

public OmnigeneException()
Constructs a OmnigeneException with no detail message.


OmnigeneException

public OmnigeneException(java.lang.String s)
Constructs a OmnigeneException with the specified detail message.

Parameters:
s - the detail message.

OmnigeneException

public OmnigeneException(int errno)
Constructs an OmnigeneException class with the specified detail message.

Parameters:
errno - the Omnigene error number.

OmnigeneException

public OmnigeneException(int errno,
                         java.lang.String message)
Constructs an OmnigeneException class with the specified detail message.

Parameters:
errno - the Omnigene error number.
message - the detail message associated with this error number.
Method Detail

getOmnigeneErrno

public int getOmnigeneErrno()
Return the Omnigene errno


getOmnigeneMessage

public java.lang.String getOmnigeneMessage()
Return the Omnigene error message that corresponds to the errno passed in.


log

public void log()
Writes the exception message and a timestamp to the System.out file.



Hosted by docs.bugaco.com