org.fcrepo.server.errors
Class ObjectValidityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.fcrepo.server.errors.ServerException
              extended by org.fcrepo.server.errors.ObjectValidityException
All Implemented Interfaces:
Serializable

public class ObjectValidityException
extends ServerException

Signals that an object is not valid.

Author:
Sandy Payette
See Also:
Serialized Form

Field Summary
protected  Validation m_validation
           
 
Constructor Summary
ObjectValidityException(String message)
           
ObjectValidityException(String a, String message, String[] b, String[] c, Throwable th)
           
ObjectValidityException(String message, Throwable cause)
           
ObjectValidityException(String message, Validation validation)
          Creates an ObjectValidityException.
ObjectValidityException(String message, Validation validation, Throwable cause)
           
 
Method Summary
 Validation getValidation()
           
 
Methods inherited from class org.fcrepo.server.errors.ServerException
getCode, getDetails, getDetails, getMessage, getMessage, setWasServer, wasServer
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

m_validation

protected Validation m_validation
Constructor Detail

ObjectValidityException

public ObjectValidityException(String message,
                               Validation validation)
Creates an ObjectValidityException.

Parameters:
message - An informative message explaining what happened and (possibly) how to fix it.

ObjectValidityException

public ObjectValidityException(String message)

ObjectValidityException

public ObjectValidityException(String message,
                               Validation validation,
                               Throwable cause)

ObjectValidityException

public ObjectValidityException(String message,
                               Throwable cause)

ObjectValidityException

public ObjectValidityException(String a,
                               String message,
                               String[] b,
                               String[] c,
                               Throwable th)
Method Detail

getValidation

public Validation getValidation()


Copyright © 2012 DuraSpace. All Rights Reserved.