info.sswap.api.model
Class ValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by info.sswap.api.model.ValidationException
All Implemented Interfaces:
java.io.Serializable

public class ValidationException
extends java.lang.Exception

An exception that is thrown when a validation fails in SSWAP (i.e., it is found during the validation that the underlying RDF data does not conform to the SSWAP syntax or requirements.)

Author:
Blazej Bulka
See Also:
Serialized Form

Constructor Summary
ValidationException()
          Creates an empty ValidationException with no message.
ValidationException(java.lang.String message)
          Creates a ValidationException with a message.
ValidationException(java.lang.String message, java.lang.Throwable cause)
          Creates a ValidationException with both a message and an underlying exception that caused this exception to be generated.
ValidationException(java.lang.Throwable cause)
          Creates a ValidationException with an underlying exception that caused this exception to be generated.
 
Method Summary
 
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

ValidationException

public ValidationException()
Creates an empty ValidationException with no message.


ValidationException

public ValidationException(java.lang.String message)
Creates a ValidationException with a message.

Parameters:
message - the message describing why the validation failed.

ValidationException

public ValidationException(java.lang.Throwable cause)
Creates a ValidationException with an underlying exception that caused this exception to be generated.

Parameters:
cause - the underlying exception

ValidationException

public ValidationException(java.lang.String message,
                           java.lang.Throwable cause)
Creates a ValidationException with both a message and an underlying exception that caused this exception to be generated.

Parameters:
message - the message describing why the validation failed
cause - the underlying exception


Copyright (c) 2011, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.