org.jasig.portal.utils.uri
Class BlockedUriException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jasig.portal.utils.uri.BlockedUriException
All Implemented Interfaces:
Serializable

public class BlockedUriException
extends RuntimeException

Exceptional circumstance of a requested URI being blocked by local policy. Conveys the URI that was blocked and the reason it was blocked.

Since:
uPortal 2.5.1
See Also:
Serialized Form

Constructor Summary
BlockedUriException(URI uriArg, String reasonBlockedArg)
          Create unchained exception instance.
BlockedUriException(URI uriArg, String reasonBlockedArg, Throwable cause)
          Create chained exception instance.
 
Method Summary
 URI getBlockedUri()
           
 String getReasonBlocked()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

BlockedUriException

public BlockedUriException(URI uriArg,
                           String reasonBlockedArg)
Create unchained exception instance.

Parameters:
uriArg - URI being blocked
reasonBlockedArg - reason for blocking the URI

BlockedUriException

public BlockedUriException(URI uriArg,
                           String reasonBlockedArg,
                           Throwable cause)
Create chained exception instance.

Parameters:
uriArg - URI being blocked
reasonBlockedArg - reason the URI was blocked.
cause - underlying cause for block.
Method Detail

getReasonBlocked

public String getReasonBlocked()

getBlockedUri

public URI getBlockedUri()


Copyright © 2010 Jasig. All Rights Reserved.