org.jinterop.dcom.common
Class JIException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jinterop.dcom.common.JIException
All Implemented Interfaces:
java.io.Serializable

public final class JIException
extends java.lang.Exception

Exception class for j-Interop lib. User should only catch or rethrow these exceptions.

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.

Overrides:
getMessage in class java.lang.Throwable
Returns:

getErrorCode

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

Returns: