org.ogf.graap.wsag.api.exceptions
Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.ogf.graap.wsag.api.exceptions.WSAgreementException
org.ogf.graap.wsag.api.exceptions.NegotiationException
org.ogf.graap.wsag.api.exceptions.ValidationException
- All Implemented Interfaces:
- Serializable
public class ValidationException
- extends NegotiationException
- Author:
- owaeld
- See Also:
- Serialized Form
Method Summary |
int |
getErrorCode()
Specific exceptions must override this method. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ValidationException
public ValidationException()
- default constructor
ValidationException
public ValidationException(String message)
- Parameters:
message
- the error message
ValidationException
public ValidationException(Throwable cause)
- Parameters:
cause
- the exception cause
ValidationException
public ValidationException(String message,
Throwable cause)
- Parameters:
message
- the exception messagecause
- the exception cause
getErrorCode
public int getErrorCode()
- Specific exceptions must override this method.
- Overrides:
getErrorCode
in class NegotiationException
- Returns:
- the base fault error code for this exception
- See Also:
NegotiationException.getErrorCode()
Copyright © 2008-2012. All Rights Reserved.