|
|
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
com.ibm.portal.state.accessors.exceptions
Class ResourceNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.portal.state.exceptions.StateException
com.ibm.portal.state.accessors.exceptions.ResourceUrlException
com.ibm.portal.state.accessors.exceptions.ResourceNotFoundException
- All Implemented Interfaces:
- Localized, LocalizedStatus, java.io.Serializable
- Direct Known Subclasses:
- IconNotFoundException
public abstract class ResourceNotFoundException
- extends ResourceUrlException
- implements LocalizedStatus
Exception which sould be thrown if a resouce was not found.
- Since:
- 5.1
- See Also:
- Serialized Form
Field Summary
|
protected java.lang.String |
name
Identification of the resource that could not be located |
Method Summary
|
java.lang.String |
getName()
|
int |
getStatus()
Return a status code that can be evaluated by the handler
of the exception implementing LocalizedStatus. |
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 |
name
protected final java.lang.String name
- Identification of the resource that could not be located
ResourceNotFoundException
public ResourceNotFoundException(java.lang.String aName,
java.lang.Exception aReason)
- Thrown if the resource could not be found.
- Parameters:
- aReason - Reason for not being able to find the resouce
- aName - Identification of the resource that could not be located
ResourceNotFoundException
public ResourceNotFoundException(java.lang.String aName)
- Thrown if the resource could not be found.
- Parameters:
- aName - Identification of the resource that could not be located
getName
public java.lang.String getName()
- Returns:
- Identification of the resource that could not be located
getStatus
public int getStatus()
- Description copied from interface: LocalizedStatus
- Return a status code that can be evaluated by the handler
of the exception implementing LocalizedStatus. It is up
to the handler of the exception how to interpret the status code.
- Specified by:
- getStatus in interface LocalizedStatus
- Returns:
- a status code
|
|
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |