org.jinterop.dcom.common
Class JIException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jinterop.dcom.common.JIException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
JIAutomationException

public class JIException
extends java.lang.Exception

Exception class for the framework. Developers are expected to catch or re-throw these exceptions. and not create one themselves.

Since:
1.0
See Also:
Serialized Form

Method Summary
 int getErrorCode()
          Returns the error code associated with this exception.
 java.lang.String getMessage()
          Returns the localized error messages.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getMessage

public java.lang.String getMessage()
Returns the localized error messages.

Returns:

getErrorCode

public int getErrorCode()
Returns the error code associated with this exception. Please refer JIErrorCodes for a complete list of errors.

Returns:
int representing the error code.