org.fcrepo.server.errors
Class DisallowedHostException

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

public class DisallowedHostException
extends ServerException

Thrown when a host requests access to a resource that it doesn't have permission to access.

Author:
Chris Wilper
See Also:
Serialized Form

Constructor Summary
DisallowedHostException(String message)
          Creates a DisallowedHostException.
DisallowedHostException(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

DisallowedHostException

public DisallowedHostException(String message)
Creates a DisallowedHostException.

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

DisallowedHostException

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


Copyright © 2011 DuraSpace. All Rights Reserved.