org.fcrepo.server.errors
Class MessagingException

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

public class MessagingException
extends ServerException

See Also:
Serialized Form

Constructor Summary
MessagingException(String message)
           
MessagingException(String bundleName, String code, String[] values, String[] details, Throwable cause)
           
MessagingException(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

MessagingException

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

MessagingException

public MessagingException(String message,
                          Throwable cause)
Parameters:
message - An informative message explaining what happened and (possibly) how to fix it.
cause - The underlying exception if known, null meaning unknown or none.

MessagingException

public MessagingException(String bundleName,
                          String code,
                          String[] values,
                          String[] details,
                          Throwable cause)
Parameters:
bundleName - The bundle in which the message resides.
code - The identifier for the message in the bundle, aka the key.
values - Replacements for placeholders in the message, where placeholders are of the form {num} where num starts at 0, indicating the 0th (1st) item in this array.
details - Identifiers for messages which provide detail on the error. This may empty or null.
cause - The underlying exception if known, null meaning unknown or none.


Copyright © 2011 DuraSpace. All Rights Reserved.