com.esf.net.netconf.service
Class NetconfError

java.lang.Object
  extended by com.esf.net.netconf.service.NetconfError

public class NetconfError
extends java.lang.Object


Field Summary
static java.lang.String SEVERITY_ERROR
           
static java.lang.String SEVERITY_WARNING
           
static java.lang.String TAG_ACCESS_DENIED
           
static java.lang.String TAG_BAD_ATTRIBUTE
           
static java.lang.String TAG_BAD_ELEMENT
           
static java.lang.String TAG_DATA_EXISTS
           
static java.lang.String TAG_DATA_MISSING
           
static java.lang.String TAG_IN_USE
           
static java.lang.String TAG_INVALID_VALUE
           
static java.lang.String TAG_LOCK_DENIED
           
static java.lang.String TAG_MISSING_ATTRIBUTE
           
static java.lang.String TAG_MISSING_ELEMENT
           
static java.lang.String TAG_OPERATION_FAILED
           
static java.lang.String TAG_OPERATION_NOT_SUPPORTED
           
static java.lang.String TAG_PARTIAL_OPERATION
           
static java.lang.String TAG_RESOURCE_DENIED
           
static java.lang.String TAG_ROLLBACK_FAILED
           
static java.lang.String TAG_TOO_BIG
           
static java.lang.String TAG_UNKNOWN_ATTRIBUTE
           
static java.lang.String TAG_UNKNOWN_ELEMENT
           
static java.lang.String TAG_UNKNOWN_NAMESPACE
           
static java.lang.String TYPE_APPLICATION
           
static java.lang.String TYPE_PROTOCOL
           
static java.lang.String TYPE_RPC
           
static java.lang.String TYPE_TRANSPORT
           
 
Constructor Summary
NetconfError()
           
NetconfError(java.lang.String tag, java.lang.String type, java.lang.String severity, java.lang.String message, java.lang.String appTag, ErrorInfo info)
           
 
Method Summary
 java.lang.String getErrorAppTag()
           
 ErrorInfo getErrorInfo()
           
 java.lang.String getErrorMessage()
           
 java.lang.String getErrorSeverity()
           
 java.lang.String getErrorTag()
           
 java.lang.String getErrorType()
           
 void setErrorAppTag(java.lang.String errorAppTag)
           
 void setErrorInfo(ErrorInfo errorInfo)
           
 void setErrorMessage(java.lang.String errorMessage)
           
 void setErrorSeverity(java.lang.String errorSeverity)
           
 void setErrorTag(java.lang.String errorTag)
           
 void setErrorType(java.lang.String errorType)
           
 java.lang.String toRcpErrorString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_IN_USE

public static final java.lang.String TAG_IN_USE
See Also:
Constant Field Values

TAG_INVALID_VALUE

public static final java.lang.String TAG_INVALID_VALUE
See Also:
Constant Field Values

TAG_TOO_BIG

public static final java.lang.String TAG_TOO_BIG
See Also:
Constant Field Values

TAG_MISSING_ATTRIBUTE

public static final java.lang.String TAG_MISSING_ATTRIBUTE
See Also:
Constant Field Values

TAG_BAD_ATTRIBUTE

public static final java.lang.String TAG_BAD_ATTRIBUTE
See Also:
Constant Field Values

TAG_UNKNOWN_ATTRIBUTE

public static final java.lang.String TAG_UNKNOWN_ATTRIBUTE
See Also:
Constant Field Values

TAG_MISSING_ELEMENT

public static final java.lang.String TAG_MISSING_ELEMENT
See Also:
Constant Field Values

TAG_BAD_ELEMENT

public static final java.lang.String TAG_BAD_ELEMENT
See Also:
Constant Field Values

TAG_UNKNOWN_ELEMENT

public static final java.lang.String TAG_UNKNOWN_ELEMENT
See Also:
Constant Field Values

TAG_UNKNOWN_NAMESPACE

public static final java.lang.String TAG_UNKNOWN_NAMESPACE
See Also:
Constant Field Values

TAG_ACCESS_DENIED

public static final java.lang.String TAG_ACCESS_DENIED
See Also:
Constant Field Values

TAG_LOCK_DENIED

public static final java.lang.String TAG_LOCK_DENIED
See Also:
Constant Field Values

TAG_RESOURCE_DENIED

public static final java.lang.String TAG_RESOURCE_DENIED
See Also:
Constant Field Values

TAG_ROLLBACK_FAILED

public static final java.lang.String TAG_ROLLBACK_FAILED
See Also:
Constant Field Values

TAG_DATA_EXISTS

public static final java.lang.String TAG_DATA_EXISTS
See Also:
Constant Field Values

TAG_DATA_MISSING

public static final java.lang.String TAG_DATA_MISSING
See Also:
Constant Field Values

TAG_OPERATION_NOT_SUPPORTED

public static final java.lang.String TAG_OPERATION_NOT_SUPPORTED
See Also:
Constant Field Values

TAG_OPERATION_FAILED

public static final java.lang.String TAG_OPERATION_FAILED
See Also:
Constant Field Values

TAG_PARTIAL_OPERATION

public static final java.lang.String TAG_PARTIAL_OPERATION
See Also:
Constant Field Values

TYPE_TRANSPORT

public static final java.lang.String TYPE_TRANSPORT
See Also:
Constant Field Values

TYPE_RPC

public static final java.lang.String TYPE_RPC
See Also:
Constant Field Values

TYPE_PROTOCOL

public static final java.lang.String TYPE_PROTOCOL
See Also:
Constant Field Values

TYPE_APPLICATION

public static final java.lang.String TYPE_APPLICATION
See Also:
Constant Field Values

SEVERITY_ERROR

public static final java.lang.String SEVERITY_ERROR
See Also:
Constant Field Values

SEVERITY_WARNING

public static final java.lang.String SEVERITY_WARNING
See Also:
Constant Field Values
Constructor Detail

NetconfError

public NetconfError()

NetconfError

public NetconfError(java.lang.String tag,
                    java.lang.String type,
                    java.lang.String severity,
                    java.lang.String message,
                    java.lang.String appTag,
                    ErrorInfo info)
Method Detail

getErrorTag

public java.lang.String getErrorTag()

setErrorTag

public void setErrorTag(java.lang.String errorTag)

getErrorAppTag

public java.lang.String getErrorAppTag()

setErrorAppTag

public void setErrorAppTag(java.lang.String errorAppTag)

getErrorSeverity

public java.lang.String getErrorSeverity()

setErrorSeverity

public void setErrorSeverity(java.lang.String errorSeverity)

getErrorMessage

public java.lang.String getErrorMessage()

setErrorMessage

public void setErrorMessage(java.lang.String errorMessage)

getErrorType

public java.lang.String getErrorType()

setErrorType

public void setErrorType(java.lang.String errorType)

setErrorInfo

public void setErrorInfo(ErrorInfo errorInfo)

getErrorInfo

public ErrorInfo getErrorInfo()

toRcpErrorString

public java.lang.String toRcpErrorString()