|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.ogf.graap.wsag.api.exceptions.WSAgreementException
public abstract class WSAgreementException
Base class for WSAG4J exceptions.
Field Summary | |
---|---|
static int |
AGREEMENT_CONSTRAINT_VALIDATION_ERROR
Error code for the CreationConstraintsViolationException |
static int |
AGREEMENT_CREATION_ERROR
Error code for the AgreementCreationException |
static int |
AGREEMENT_FACTORY_ERROR
Error code for the AgreementFactoryException |
static int |
NEGOTIATION_ERROR
Error code for the NegotiationException |
static int |
NEGOTIATION_INSTANTIATION_ERROR
Error code for the NegotiationFactoryException |
static int |
NEGOTIATION_VALIDATION_ERROR
Error code for the ValidationException |
static int |
RESOURCE_UNAVAILABLE_ERROR
Error code for the ResourceUnavailableException |
static int |
RESOURCE_UNKNOWN_ERROR
Error code for the ResourceUnknownException |
Constructor Summary | |
---|---|
WSAgreementException()
default constructor |
|
WSAgreementException(String message)
Constructs the exception with the given message. |
|
WSAgreementException(String message,
Throwable cause)
Constructs the exception with the given message and initializes the exception cause. |
|
WSAgreementException(Throwable cause)
Constructs the exception and initializes the exception cause. |
Method Summary | |
---|---|
int |
getErrorClass()
Maps an application error to an error class. |
abstract int |
getErrorCode()
Returns a unique error code for the specific Exception; |
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 |
---|
public static final int AGREEMENT_FACTORY_ERROR
AgreementFactoryException
public static final int AGREEMENT_CONSTRAINT_VALIDATION_ERROR
CreationConstraintsViolationException
public static final int AGREEMENT_CREATION_ERROR
AgreementCreationException
public static final int NEGOTIATION_INSTANTIATION_ERROR
NegotiationFactoryException
public static final int NEGOTIATION_ERROR
NegotiationException
public static final int NEGOTIATION_VALIDATION_ERROR
ValidationException
public static final int RESOURCE_UNKNOWN_ERROR
ResourceUnknownException
public static final int RESOURCE_UNAVAILABLE_ERROR
ResourceUnavailableException
Constructor Detail |
---|
public WSAgreementException()
public WSAgreementException(String message)
message
- the exception messagepublic WSAgreementException(String message, Throwable cause)
message
- the exception messagecause
- the exception causepublic WSAgreementException(Throwable cause)
cause
- the exception causeMethod Detail |
---|
public abstract int getErrorCode()
public int getErrorClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |