jpl.mipl.mdms.FileService.komodo.api
Class SessionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by jpl.mipl.mdms.FileService.komodo.api.SessionException
All Implemented Interfaces:
Serializable

public class SessionException
extends Exception

Session Exception class. Note: All code throwing this exception must supply errno and a message.

Version:
$Id: SessionException.java,v 1.2 2003/09/04 23:13:00 rap Exp $
Author:
J. Jacobson
See Also:
Serialized Form

Constructor Summary
SessionException(String message, int errno)
          Constructor
 
Method Summary
 int getErrno()
          Method to return the current error number
 
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

SessionException

public SessionException(String message,
                        int errno)
Constructor

Parameters:
message - string describing the exception
errno - The error number for the exception
Method Detail

getErrno

public final int getErrno()
Method to return the current error number

Returns:
errno The error number associated with the exception.