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

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.NegotiationFactoryException
All Implemented Interfaces:
Serializable

public class NegotiationFactoryException
extends WSAgreementException

An exception thrown by a negotiation factory during the negotiation initialization process.

Author:
owaeld
See Also:
Serialized Form

Field Summary
 
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
NegotiationFactoryException()
          Default constructor.
NegotiationFactoryException(String message)
           
NegotiationFactoryException(String message, Throwable cause)
           
NegotiationFactoryException(Throwable cause)
           
 
Method Summary
 int getErrorCode()
          Returns a unique error code for the specific Exception;
 
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
 

Constructor Detail

NegotiationFactoryException

public NegotiationFactoryException()
Default constructor.


NegotiationFactoryException

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

NegotiationFactoryException

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

NegotiationFactoryException

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

getErrorCode

public int getErrorCode()
Description copied from class: WSAgreementException
Returns a unique error code for the specific Exception;

Specified by:
getErrorCode in class WSAgreementException
Returns:
the exception specific error code


Copyright © 2008-2012. All Rights Reserved.