com.ibm.portal.resolver.exceptions
Class URINotFoundException
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
- All Implemented Interfaces:
- Localized, LocalizedStatus, Addressable, Constants, java.io.Serializable
-
public class URINotFoundException
- extends ResourceNotFoundException
- implements Addressable
An objectID could not be located
- Since:
- 7.0
- See Also:
- Serialized Form
Field Summary
|
protected java.net.URI |
uri
object URI that could not be found |
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()
Return 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()
Return the unique identifier of the object. |
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 |
uri
protected final java.net.URI uri
- object URI that could not be found
URINotFoundException
public URINotFoundException(java.net.URI aURI)
- Initializes the exception and specifies the objectID of the missing
object
- Parameters:
- aID - objectID, not null
URINotFoundException
public 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
- Parameters:
- aID - objectID, not null
- th - original exception
getEntity
protected java.lang.Object getEntity()
- Description copied from class: EntityNotFoundException
- Returns the failing entity
- Specified by:
- getEntity in class EntityNotFoundException
- Returns:
- the failed entity
getParameters
public java.util.Map<java.lang.String,java.lang.String[]> getParameters()
- Description copied from interface: 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[]
- Specified by:
- getParameters in interface Addressable
- Returns:
- parameter map
getURI
public java.net.URI getURI()
- Description copied from interface: Addressable
- Returns the unique identifier of the object. The URI must contain valid
scheme information and cannot be just a relative URL.
- Specified by:
- getURI in interface Addressable
- Returns:
- URI of the object, never null.