org.fcrepo.server.errors
Class UnsupportedTranslationException

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

public class UnsupportedTranslationException
extends ServerException

Thrown when some format+encoding pair isn't supported by a translator.

Author:
Chris Wilper
See Also:
Serialized Form

Constructor Summary
UnsupportedTranslationException(String message)
          Creates an UnsupportedTranslationException.
UnsupportedTranslationException(String bundleName, String code, String[] replacements, String[] details, 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

UnsupportedTranslationException

public UnsupportedTranslationException(String message)
Creates an UnsupportedTranslationException.

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

UnsupportedTranslationException

public UnsupportedTranslationException(String bundleName,
                                       String code,
                                       String[] replacements,
                                       String[] details,
                                       Throwable cause)


Copyright © 2012 DuraSpace. All Rights Reserved.