org.apache.juddi.datatype.response
Class ErrInfo

java.lang.Object
  extended by org.apache.juddi.datatype.response.ErrInfo
All Implemented Interfaces:
java.io.Serializable, RegistryObject

public class ErrInfo
extends java.lang.Object
implements RegistryObject

Used in Result in response DispositionReport.

Author:
Steve Viens (sviens@apache.org)
See Also:
Serialized Form

Constructor Summary
ErrInfo()
           
ErrInfo(java.lang.String code)
           
ErrInfo(java.lang.String code, java.lang.String msg)
           
 
Method Summary
 java.lang.String getErrCode()
          Returns the exception code of this ErrInfo.
 java.lang.String getErrMsg()
          Returns the exception message of this ErrInfo.
 void setErrCode(java.lang.String code)
          Sets the exception code of this ErrInfo to the given value.
 void setErrMsg(java.lang.String msg)
          Sets the exception message of this ErrInfo to the given value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrInfo

public ErrInfo()

ErrInfo

public ErrInfo(java.lang.String code)

ErrInfo

public ErrInfo(java.lang.String code,
               java.lang.String msg)
Method Detail

setErrCode

public void setErrCode(java.lang.String code)
Sets the exception code of this ErrInfo to the given value.

Parameters:
code - The new code number for this ErrInfo.

getErrCode

public java.lang.String getErrCode()
Returns the exception code of this ErrInfo.

Returns:
The exception code of this ErrInfo.

setErrMsg

public void setErrMsg(java.lang.String msg)
Sets the exception message of this ErrInfo to the given value.

Parameters:
msg - The new exception message for this ErrInfo.

getErrMsg

public java.lang.String getErrMsg()
Returns the exception message of this ErrInfo.

Returns:
The exception message of this ErrInfo.


Copyright © 2004-2007. All Rights Reserved.