EPP RTK
for Java v 0.7.2

org.openrtk.idl.epp0402
Class epp_Exception

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.omg.CORBA.UserException
                    |
                    +--org.openrtk.idl.epp0402.epp_Exception
All Implemented Interfaces:
org.omg.CORBA.portable.IDLEntity, java.io.Serializable

public class epp_Exception
extends org.omg.CORBA.UserException
implements org.omg.CORBA.portable.IDLEntity

Class that acts as a container for any exception thrown if a communication error occurs with the EPP server or if the EPP server returns an error code.

An EPP response code is considered an error code if the numeric value is greater than or equal to 2000. Communication errors are not official EPP errors but the sake of consistency, they have been defined in the RTK with values in the 2600-2699 range. The error codes and symbolic names for these are defined in epp_Action. $Header: /cvsroot/epp-rtk/epp-rtk/java/src/org/openrtk/idl/epp0402/epp_Exception.java,v 1.1 2003/03/21 16:35:39 tubadanm Exp $
$Revision: 1.1 $
$Date: 2003/03/21 16:35:39 $

See Also:
Serialized Form

Field Summary
 epp_Result[] m_details
          The array of error details.
 
Constructor Summary
epp_Exception()
          Empty constructor
epp_Exception(epp_Result[] _m_details)
          The constructor with initializing variables.
 
Method Summary
 epp_Result[] getDetails()
          Accessor method for the array of error details
 void setDetails(epp_Result[] value)
          Accessor method for the array of error details
 java.lang.String toString()
          Converts this class into a string.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_details

public epp_Result[] m_details
The array of error details.

See Also:
setDetails(org.openrtk.idl.epp0402.epp_Result[]), getDetails()
Constructor Detail

epp_Exception

public epp_Exception()
Empty constructor


epp_Exception

public epp_Exception(epp_Result[] _m_details)
The constructor with initializing variables.

Parameters:
_m_details - The array of error details
Method Detail

setDetails

public void setDetails(epp_Result[] value)
Accessor method for the array of error details

Parameters:
value - The array of error details
See Also:
m_details

getDetails

public epp_Result[] getDetails()
Accessor method for the array of error details

Returns:
The array of error details
See Also:
m_details

toString

public java.lang.String toString()
Converts this class into a string. Typically used to view the object in debug output.

Overrides:
toString in class java.lang.Throwable
Returns:
The string representation of this object instance

EPP RTK
for Java v 0.7.2

Copyright ? 2001-2002 - Tucows, Inc., 2003 - LibertyRMS