org.systinet.uddi.client.v3
Class UDDIException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.systinet.uddi.ClientException
              extended byorg.systinet.uddi.client.UDDIException
                  extended byorg.systinet.uddi.client.v3.UDDIException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ApprovalException

public class UDDIException
extends UDDIException

Thrown to indicate that a UDDI Exception was encountered.

See Also:
Serialized Form

Field Summary
protected  DispositionReport dispositionReport
           
 
Fields inherited from class org.systinet.uddi.client.UDDIException
DEFAULT_ERRNO, DEFAULT_FAULT_CODE, DEFAULT_FAULT_STRING, ID
 
Fields inherited from class org.systinet.uddi.ClientException
errorReport, faultCode, faultString
 
Constructor Summary
protected UDDIException()
           
  UDDIException(DispositionReport dispositionReport)
          Constructs a UDDIExceptionV1 class with the specified dispositionReport.
  UDDIException(DispositionReport dispositionReport, java.lang.String faultCode, java.lang.String faultString)
          Constructs a UDDIExceptionV1 class with the specified dispositionReport.
  UDDIException(java.lang.Exception e)
          Constructs a new UDDIException class from the UDDIException.
  UDDIException(int errno)
          Constructs a new UDDIException class with an argument identifying the specific error.
  UDDIException(int errno, java.lang.String message)
          Constructs a UDDIException class with the specified detail message.
  UDDIException(InvalidParameterException invalidParameterException)
          Constructs a UDDIException class according to the given exception.
  UDDIException(java.lang.String message)
          Constructs a new UDDIException class with an argument identifying the specific error.
  UDDIException(java.lang.String message, java.lang.String faultCode, java.lang.String faultString)
          Constructs a UDDIExceptionV1 class with the specified dispositionReport.
 
Method Summary
 DispositionReport getDispositionReport()
          Getter for property dispositionReport.
 int getErrno()
          Getter for property errNo.
 java.lang.String getFaultCode()
          Getter for property faultCode.
 java.lang.String getFaultString()
          Getter for property faultString.
 java.lang.String getMessage()
          Getter for property message.
protected  void setDispositionReport(int errno, java.lang.String message)
           
 
Methods inherited from class org.systinet.uddi.client.UDDIException
getId
 
Methods inherited from class org.systinet.uddi.ClientException
getErrorReport
 
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
 

Field Detail

dispositionReport

protected DispositionReport dispositionReport
Constructor Detail

UDDIException

protected UDDIException()

UDDIException

public UDDIException(DispositionReport dispositionReport)
Constructs a UDDIExceptionV1 class with the specified dispositionReport.

Parameters:
dispositionReport - New value of property dispositionReport

UDDIException

public UDDIException(DispositionReport dispositionReport,
                     java.lang.String faultCode,
                     java.lang.String faultString)
Constructs a UDDIExceptionV1 class with the specified dispositionReport.

Parameters:
faultCode - faultCode
faultString - faultString
dispositionReport - new value of property dispositionReport

UDDIException

public UDDIException(java.lang.String message,
                     java.lang.String faultCode,
                     java.lang.String faultString)
Constructs a UDDIExceptionV1 class with the specified dispositionReport.

Parameters:
faultCode - faultCode
faultString - faultString

UDDIException

public UDDIException(java.lang.Exception e)
Constructs a new UDDIException class from the UDDIException.

Parameters:
e - the UDDIException

UDDIException

public UDDIException(java.lang.String message)
Constructs a new UDDIException class with an argument identifying the specific error.

Parameters:
message - the error message

UDDIException

public UDDIException(int errno)
Constructs a new UDDIException class with an argument identifying the specific error.

Parameters:
errno - the errNo

UDDIException

public UDDIException(int errno,
                     java.lang.String message)
Constructs a UDDIException class with the specified detail message.

Parameters:
errno - the errNo
message - the detail message that is to override the default for this errNo.

UDDIException

public UDDIException(InvalidParameterException invalidParameterException)
Constructs a UDDIException class according to the given exception.

Parameters:
invalidParameterException -
Method Detail

setDispositionReport

protected void setDispositionReport(int errno,
                                    java.lang.String message)

getDispositionReport

public DispositionReport getDispositionReport()
Getter for property dispositionReport.

Returns:
value of property dispositionReport.

getFaultCode

public java.lang.String getFaultCode()
Getter for property faultCode.

Overrides:
getFaultCode in class ClientException
Returns:
value of property faultCode.

getFaultString

public java.lang.String getFaultString()
Getter for property faultString.

Overrides:
getFaultString in class ClientException
Returns:
value of property faultString.

getMessage

public java.lang.String getMessage()
Getter for property message.

Overrides:
getMessage in class ClientException
Returns:
value of property message.

getErrno

public int getErrno()
Getter for property errNo.

Overrides:
getErrno in class ClientException
Returns:
value of property errNo.