com.ibm.websphere.wsrf

Class FaultDescription

  • java.lang.Object
    • com.ibm.websphere.wsrf.FaultDescription
  • All Implemented Interfaces:
    java.io.Serializable


    public class FaultDescription
    extends java.lang.Object
    implements java.io.Serializable
    The FaultDescription class represents a free form string description of a fault. It also allows the language in which the description is written to be specified.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      FaultDescription(java.lang.String description)
      Constructor to create a new FaultDescription without a language specifier.
      FaultDescription(java.lang.String description, java.lang.String language)
      Constructor to create a new FaultDescription with a language specifier.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getDescription()
      Gets the fault description
      java.lang.String getLanguage()
      Gets the fault description language
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FaultDescription

        public FaultDescription(java.lang.String description)
        Constructor to create a new FaultDescription without a language specifier.
        Parameters:
        description - Fault description
      • FaultDescription

        public FaultDescription(java.lang.String description,
                        java.lang.String language)
        Constructor to create a new FaultDescription with a language specifier.
        Parameters:
        description - Fault description
        description - Fault description language
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Gets the fault description
        Returns:
        The fault description
      • getLanguage

        public java.lang.String getLanguage()
        Gets the fault description language
        Returns:
        The fault description language.
IBM WebSphere Application ServerTM
Release 9.0