org.apache.juddi.datatype.response
Class Result

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

public class Result
extends java.lang.Object
implements RegistryObject

Used in response DispositionReport.

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

Field Summary
static int E_ACCOUNT_LIMIT_EXCEEDED
           
static int E_ASSERTION_NOT_FOUND
           
static int E_AUTH_TOKEN_EXPIRED
           
static int E_AUTH_TOKEN_REQUIRED
           
static int E_BUSY
           
static int E_CATEGORIZATION_NOT_ALLOWED
           
static int E_FATAL_ERROR
           
static int E_INVALID_CATEGORY
           
static int E_INVALID_COMPLETION_STATUS
           
static int E_INVALID_KEY_PASSED
           
static int E_INVALID_PROJECTION
           
static int E_INVALID_TIME
           
static int E_INVALID_URL_PASSED
           
static int E_INVALID_VALUE
           
static int E_KEY_RETIRED
           
static int E_LANGUAGE_ERROR
           
static int E_MESSAGE_TOO_LARGE
           
static int E_NAME_TOO_LONG
           
static int E_OPERATOR_MISMATCH
           
static int E_PUBLISHER_CANCELLED
           
static int E_REQUEST_DENIED
           
static int E_REQUEST_TIMEOUT
           
static int E_RESULT_SET_TOO_LARGE
           
static int E_SECRET_UNKNOWN
           
static int E_SUCCESS
           
static int E_TOO_MANY_OPTIONS
           
static int E_TRANSFER_ABORTED
           
static int E_UNKNOWN_USER
           
static int E_UNRECOGNIZED_VERSION
           
static int E_UNSUPPORTED
           
static int E_UNVALIDATABLE
           
static int E_USER_MISMATCH
           
static int E_VALUE_NOT_ALLOWED
           
 
Constructor Summary
Result()
           
Result(int errno)
           
Result(int errno, ErrInfo errInfo)
           
Result(int errno, java.lang.String errCode, java.lang.String errMsg)
           
 
Method Summary
 java.lang.String getErrCode()
          Returns the exception code of this ErrInfo.
 ErrInfo getErrInfo()
           
 int getErrno()
          Returns the exception number of this disposition report.
 java.lang.String getErrText()
          Returns the error text of this ErrInfo.
static java.lang.String lookupErrCode(int errno)
           
static java.lang.String lookupErrText(int errno)
           
 void setErrCode(java.lang.String errCode)
          Sets the exception code of this ErrInfo to the given value.
 void setErrInfo(ErrInfo info)
           
 void setErrno(int nmbr)
          Sets the exception number of this disposition report to the given value.
 void setErrno(java.lang.String nmbr)
          Sets the exception number of this disposition report to the given value.
 void setErrText(java.lang.String errText)
          Sets the exception message of this ErrInfo to the given value.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

E_ASSERTION_NOT_FOUND

public static final int E_ASSERTION_NOT_FOUND
See Also:
Constant Field Values

E_AUTH_TOKEN_EXPIRED

public static final int E_AUTH_TOKEN_EXPIRED
See Also:
Constant Field Values

E_AUTH_TOKEN_REQUIRED

public static final int E_AUTH_TOKEN_REQUIRED
See Also:
Constant Field Values

E_ACCOUNT_LIMIT_EXCEEDED

public static final int E_ACCOUNT_LIMIT_EXCEEDED
See Also:
Constant Field Values

E_BUSY

public static final int E_BUSY
See Also:
Constant Field Values

E_CATEGORIZATION_NOT_ALLOWED

public static final int E_CATEGORIZATION_NOT_ALLOWED
See Also:
Constant Field Values

E_FATAL_ERROR

public static final int E_FATAL_ERROR
See Also:
Constant Field Values

E_INVALID_KEY_PASSED

public static final int E_INVALID_KEY_PASSED
See Also:
Constant Field Values

E_INVALID_PROJECTION

public static final int E_INVALID_PROJECTION
See Also:
Constant Field Values

E_INVALID_CATEGORY

public static final int E_INVALID_CATEGORY
See Also:
Constant Field Values

E_INVALID_COMPLETION_STATUS

public static final int E_INVALID_COMPLETION_STATUS
See Also:
Constant Field Values

E_INVALID_URL_PASSED

public static final int E_INVALID_URL_PASSED
See Also:
Constant Field Values

E_INVALID_VALUE

public static final int E_INVALID_VALUE
See Also:
Constant Field Values

E_KEY_RETIRED

public static final int E_KEY_RETIRED
See Also:
Constant Field Values

E_LANGUAGE_ERROR

public static final int E_LANGUAGE_ERROR
See Also:
Constant Field Values

E_MESSAGE_TOO_LARGE

public static final int E_MESSAGE_TOO_LARGE
See Also:
Constant Field Values

E_NAME_TOO_LONG

public static final int E_NAME_TOO_LONG
See Also:
Constant Field Values

E_OPERATOR_MISMATCH

public static final int E_OPERATOR_MISMATCH
See Also:
Constant Field Values

E_PUBLISHER_CANCELLED

public static final int E_PUBLISHER_CANCELLED
See Also:
Constant Field Values

E_REQUEST_DENIED

public static final int E_REQUEST_DENIED
See Also:
Constant Field Values

E_SECRET_UNKNOWN

public static final int E_SECRET_UNKNOWN
See Also:
Constant Field Values

E_SUCCESS

public static final int E_SUCCESS
See Also:
Constant Field Values

E_TOO_MANY_OPTIONS

public static final int E_TOO_MANY_OPTIONS
See Also:
Constant Field Values

E_TRANSFER_ABORTED

public static final int E_TRANSFER_ABORTED
See Also:
Constant Field Values

E_UNRECOGNIZED_VERSION

public static final int E_UNRECOGNIZED_VERSION
See Also:
Constant Field Values

E_UNKNOWN_USER

public static final int E_UNKNOWN_USER
See Also:
Constant Field Values

E_UNSUPPORTED

public static final int E_UNSUPPORTED
See Also:
Constant Field Values

E_USER_MISMATCH

public static final int E_USER_MISMATCH
See Also:
Constant Field Values

E_VALUE_NOT_ALLOWED

public static final int E_VALUE_NOT_ALLOWED
See Also:
Constant Field Values

E_UNVALIDATABLE

public static final int E_UNVALIDATABLE
See Also:
Constant Field Values

E_REQUEST_TIMEOUT

public static final int E_REQUEST_TIMEOUT
See Also:
Constant Field Values

E_INVALID_TIME

public static final int E_INVALID_TIME
See Also:
Constant Field Values

E_RESULT_SET_TOO_LARGE

public static final int E_RESULT_SET_TOO_LARGE
See Also:
Constant Field Values
Constructor Detail

Result

public Result()

Result

public Result(int errno)

Result

public Result(int errno,
              ErrInfo errInfo)

Result

public Result(int errno,
              java.lang.String errCode,
              java.lang.String errMsg)
Method Detail

setErrno

public void setErrno(int nmbr)
Sets the exception number of this disposition report to the given value.

Parameters:
nmbr - The new exception number for this disposition report.

setErrno

public void setErrno(java.lang.String nmbr)
Sets the exception number of this disposition report to the given value.

Parameters:
nmbr - The new exception number for this disposition report.

getErrno

public int getErrno()
Returns the exception number of this disposition report.

Returns:
The exception number of this disposition report.

setErrInfo

public void setErrInfo(ErrInfo info)

getErrInfo

public ErrInfo getErrInfo()

setErrCode

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

Parameters:
errcode - 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.

setErrText

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

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

getErrText

public java.lang.String getErrText()
Returns the error text of this ErrInfo.

Returns:
The error text of this ErrInfo.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

lookupErrCode

public static final java.lang.String lookupErrCode(int errno)

lookupErrText

public static final java.lang.String lookupErrText(int errno)


Copyright © 2004-2007. All Rights Reserved.