|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jasig.portal.utils.uri.BlockedUriException
public class BlockedUriException
Exceptional circumstance of a requested URI being blocked by local policy. Conveys the URI that was blocked and the reason it was blocked.
| Field Summary | |
|---|---|
private java.lang.String |
reasonBlocked
The reason the URI was blocked. |
private static long |
serialVersionUID
Serialized format version number. |
private java.net.URI |
uri
The URI that was blocked. |
| Constructor Summary | |
|---|---|
BlockedUriException(java.net.URI uriArg,
java.lang.String reasonBlockedArg)
Create unchained exception instance. |
|
BlockedUriException(java.net.URI uriArg,
java.lang.String reasonBlockedArg,
java.lang.Throwable cause)
Create chained exception instance. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getBlockedUri()
Get the blocked URI. |
java.lang.Object |
getReasonBlocked()
Get the reason the URI was blocked represented as a String. |
| 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 |
| Field Detail |
|---|
private static final long serialVersionUID
private final java.net.URI uri
private final java.lang.String reasonBlocked
| Constructor Detail |
|---|
public BlockedUriException(java.net.URI uriArg,
java.lang.String reasonBlockedArg)
uriArg - URI being blockedreasonBlockedArg - reason for blocking the URI
public BlockedUriException(java.net.URI uriArg,
java.lang.String reasonBlockedArg,
java.lang.Throwable cause)
uriArg - URI being blockedreasonBlockedArg - reason the URI was blocked.cause - underlying cause for block.| Method Detail |
|---|
public java.lang.Object getBlockedUri()
public java.lang.Object getReasonBlocked()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||