com.vgrs.xcode.util
Class XcodeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.vgrs.xcode.util.XcodeException
All Implemented Interfaces:
java.io.Serializable

public class XcodeException
extends java.lang.Exception

This object implements all error conditions from the IDN SDK.

See Also:
Serialized Form

Constructor Summary
XcodeException(int code, java.lang.String message)
          Construct a xcode exception with an error code and detailed message
XcodeException(int code, java.lang.String message, java.lang.Throwable parent)
          Construct a xcode exception with an error code, and chaining the supplied XcodeExcpetion and a Throwable object detail message.
XcodeException(XcodeException x, java.lang.String message)
          Construct a xcode exception chaining the supplied XcodeExcpetion and detail message.
XcodeException(XcodeException x, java.lang.Throwable parent)
          Construct a xcode exception chaining the supplied XcodeExcpetion and another Throwable object.
 
Method Summary
 int getCode()
          Obtain error code of this XcodeExcpetion
 java.lang.String getMessage()
          Obtain detailed message of this XcodeExcpetion
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

XcodeException

public XcodeException(int code,
                      java.lang.String message)
Construct a xcode exception with an error code and detailed message

Parameters:
code - an error code
message - detailed message

XcodeException

public XcodeException(XcodeException x,
                      java.lang.Throwable parent)
Construct a xcode exception chaining the supplied XcodeExcpetion and another Throwable object.

Parameters:
x - a XcodeException object
parent - a Throwable object

XcodeException

public XcodeException(XcodeException x,
                      java.lang.String message)
Construct a xcode exception chaining the supplied XcodeExcpetion and detail message.

Parameters:
x - a XcodeException object
message - detailed message

XcodeException

public XcodeException(int code,
                      java.lang.String message,
                      java.lang.Throwable parent)
Construct a xcode exception with an error code, and chaining the supplied XcodeExcpetion and a Throwable object detail message.

Parameters:
code - An XcodeException object
message - A detailed message
parent - A Throwable object
Method Detail

getCode

public int getCode()
Obtain error code of this XcodeExcpetion

Returns:
int error code

getMessage

public java.lang.String getMessage()
Obtain detailed message of this XcodeExcpetion

Overrides:
getMessage in class java.lang.Throwable
Returns:
String error message


Copyright © 2000-2010 VeriSign Inc. All Rights Reserved