org.ogf.graap.wsag.api.exceptions
Class NegotiationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ogf.graap.wsag.api.exceptions.WSAgreementException
              extended by org.ogf.graap.wsag.api.exceptions.NegotiationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ValidationException

public class NegotiationException
extends WSAgreementException

NegotiationException

Author:
Oliver Waeldrich
See Also:
Serialized Form

Field Summary
static String LOCAL_EN
          Default language identifier in base fault.
 
Fields inherited from class org.ogf.graap.wsag.api.exceptions.WSAgreementException
AGREEMENT_CONSTRAINT_VALIDATION_ERROR, AGREEMENT_CREATION_ERROR, AGREEMENT_FACTORY_ERROR, NEGOTIATION_ERROR, NEGOTIATION_INSTANTIATION_ERROR, NEGOTIATION_VALIDATION_ERROR, RESOURCE_UNAVAILABLE_ERROR, RESOURCE_UNKNOWN_ERROR
 
Constructor Summary
NegotiationException()
          default constructor
NegotiationException(String message)
           
NegotiationException(String message, Throwable cause)
           
NegotiationException(Throwable cause)
           
 
Method Summary
 BaseFaultType getBaseFault()
           
 int getErrorCode()
          Specific exceptions must override this method.
 
Methods inherited from class org.ogf.graap.wsag.api.exceptions.WSAgreementException
getErrorClass
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOCAL_EN

public static final String LOCAL_EN
Default language identifier in base fault.

See Also:
Constant Field Values
Constructor Detail

NegotiationException

public NegotiationException()
default constructor


NegotiationException

public NegotiationException(String message,
                            Throwable cause)
Parameters:
message - the exception message
cause - the exception cause

NegotiationException

public NegotiationException(String message)
Parameters:
message - the exception message

NegotiationException

public NegotiationException(Throwable cause)
Parameters:
cause - the exception cause
Method Detail

getBaseFault

public BaseFaultType getBaseFault()
Returns:
the base fault document representing this exception.

getErrorCode

public int getErrorCode()
Specific exceptions must override this method.

Specified by:
getErrorCode in class WSAgreementException
Returns:
the base fault error code for this exception


Copyright © 2008-2012. All Rights Reserved.