|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.ibm.portal.resolver.exceptions.ResolutionException com.ibm.portal.resolver.exceptions.EntityNotFoundException com.ibm.portal.resolver.exceptions.ResourceNotFoundException com.ibm.portal.resolver.exceptions.URINotFoundException
public class URINotFoundException
An objectID could not be located
Field Summary | |
---|---|
protected java.net.URI |
uri
object URI that could not be found |
Fields inherited from interface com.ibm.portal.resolver.data.Addressable |
---|
EMPTY_PARAMETERS |
Fields inherited from interface com.ibm.portal.resolver.exceptions.Constants |
---|
SC_BAD_REQUEST, SC_GONE, SC_INTERNAL_SERVER_ERROR, SC_NOT_FOUND, SC_REQUEST_TIMEOUT, SC_SERVICE_UNAVAILABLE, SC_UNAUTHORIZED |
Constructor Summary | |
---|---|
URINotFoundException(java.net.URI aURI)
Initializes the exception and specifies the objectID of the missing object |
|
URINotFoundException(java.net.URI aURI,
java.lang.Throwable th)
Initializes the exception and specifies the objectID of the missing object and a reason for the exception |
Method Summary | |
---|---|
protected java.lang.Object |
getEntity()
Returns the failing entity |
java.util.Map<java.lang.String,java.lang.String[]> |
getParameters()
Returns an potentially unmodifiable version of the parameters used to address the object, never null , but potentially the empty
map. |
java.net.URI |
getURI()
Returns the unique identifier of the object. |
Methods inherited from class com.ibm.portal.resolver.exceptions.EntityNotFoundException |
---|
getStatus, getTitle |
Methods inherited from class com.ibm.portal.resolver.exceptions.ResolutionException |
---|
findLocalized, findLocalizedStatus, getDescription, getLocales, getLocalized, getLocalized, getLocalizedMessage, getLocalizedStatus, getMessage, getTitle |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, 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 |
---|
protected final java.net.URI uri
Constructor Detail |
---|
public URINotFoundException(java.net.URI aURI)
aID
- objectID, not null
public URINotFoundException(java.net.URI aURI, java.lang.Throwable th)
aID
- objectID, not null
th
- original exceptionMethod Detail |
---|
protected java.lang.Object getEntity()
EntityNotFoundException
getEntity
in class EntityNotFoundException
public java.util.Map<java.lang.String,java.lang.String[]> getParameters()
Addressable
Returns an potentially unmodifiable version of the parameters used to
address the object, never null
, but potentially the empty
map.
The key is of type String
, the values of type
String[]
getParameters
in interface Addressable
public java.net.URI getURI()
Addressable
getURI
in interface Addressable
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |