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

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

public class ValidationException
extends NegotiationException

Author:
owaeld
See Also:
Serialized Form

Field Summary
static int ERROR_CODE
          the exception error code
 
Fields inherited from class org.ogf.graap.wsag.api.exceptions.NegotiationException
LOCAL_EN
 
Constructor Summary
ValidationException()
          default constructor
ValidationException(String message)
           
ValidationException(String message, Throwable cause)
           
ValidationException(Throwable cause)
           
 
Method Summary
protected  String getErrorCode()
          Specific exceptions must override this method.
 
Methods inherited from class org.ogf.graap.wsag.api.exceptions.NegotiationException
getBaseFault
 
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

ERROR_CODE

public static final int ERROR_CODE
the exception error code

See Also:
Constant Field Values
Constructor Detail

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 message
cause - the exception cause
Method Detail

getErrorCode

protected String 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 Fraunhofer Institute SCAI. All Rights Reserved.