org.fcrepo.server.errors
Class GeneralException

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.GeneralException
All Implemented Interfaces:
Serializable

public final class GeneralException
extends ServerException

A general exception indicating something went wrong on the server.

This type of exception doesn't characterize the error by java type, but may still classify it by message and code.

Author:
Chris Wilper
See Also:
Serialized Form

Constructor Summary
GeneralException(String message)
          Creates a GeneralException.
GeneralException(String bundleName, String code, String[] values, String[] details, Throwable cause)
           
GeneralException(String message, Throwable cause)
           
 
Method Summary
 
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
 

Constructor Detail

GeneralException

public GeneralException(String message)
Creates a GeneralException.

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

GeneralException

public GeneralException(String message,
                        Throwable cause)

GeneralException

public GeneralException(String bundleName,
                        String code,
                        String[] values,
                        String[] details,
                        Throwable cause)


Copyright © 2012 DuraSpace. All Rights Reserved.