org.jasig.portal.utils.uri
Class BlockedUriException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
BlockedUriException
public BlockedUriException(URI uriArg,
String reasonBlockedArg)
- Create unchained exception instance.
- Parameters:
uriArg - URI being blockedreasonBlockedArg - reason for blocking the URI
BlockedUriException
public BlockedUriException(URI uriArg,
String reasonBlockedArg,
Throwable cause)
- Create chained exception instance.
- Parameters:
uriArg - URI being blockedreasonBlockedArg - reason the URI was blocked.cause - underlying cause for block.
getReasonBlocked
public String getReasonBlocked()
getBlockedUri
public URI getBlockedUri()
Copyright © 2010 Jasig. All Rights Reserved.