com.ibm.websphere.wsrf

Class ErrorCode

  1. java.lang.Object
  2. extended bycom.ibm.websphere.wsrf.ErrorCode
All implemented interfaces:
java.io.Serializable

  1. public class ErrorCode
  2. extends java.lang.Object
  3. implements java.io.Serializable
The ErrorCode class represents an ErrorCode of a BaseFault. The ErrorCode is an optional element in the BaseFault of type xsd:anyType. It has an required attribute of type xsd:anyURI called dialect
See Also:
Serialized Form

Constructor Summary

Constructor and Description
ErrorCode(java.net.URI dialect,IOSerializableSOAPElement[] childElements)
Constructs an ErrorCode with a dialect URI and a child element
ErrorCode(java.net.URI dialect,java.lang.String value)
Constructs an ErrorCode with a dialect URI and a primitive value

Method Summary

Modifier and Type Method and Description
  1. IOSerializableSOAPElement[]
getChildElements()
Returns the child elements of the ErrorCode
  1. java.net.URI
getDialect()
Returns the dialect attribute value
  1. java.lang.String
getValue()
Returns the value part of the ErrorCode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

ErrorCode

  1. public ErrorCode(java.net.URI dialect,
  2. java.lang.String value)
Constructs an ErrorCode with a dialect URI and a primitive value
Parameters:
dialect - the required attribute value of the ErrorCode
value - the value of the ErrorCode

ErrorCode

  1. public ErrorCode(java.net.URI dialect,
  2. IOSerializableSOAPElement[] childElements)
Constructs an ErrorCode with a dialect URI and a child element
Parameters:
dialect - the required attribute value of the ErrorCode
childElements - the child elements of the ErrorCode

Method Detail

getDialect

  1. public java.net.URI getDialect( )
Returns the dialect attribute value
Returns:
the dialect attribute value

getValue

  1. public java.lang.String getValue( )
Returns the value part of the ErrorCode
Returns:
the value part of the ErrorCode

getChildElements

  1. public IOSerializableSOAPElement[] getChildElements( )
Returns the child elements of the ErrorCode
Returns:
the child elements of the ErrorCode