Package org.xwiki.resource
Class NotFoundResourceHandlerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xwiki.resource.ResourceReferenceHandlerException
-
- org.xwiki.resource.NotFoundResourceHandlerException
-
- All Implemented Interfaces:
Serializable
public class NotFoundResourceHandlerException extends ResourceReferenceHandlerException
Whenever a Resource Handler doesn't exist for handling a given Resource Reference.- Since:
- 6.1M2
- Version:
- $Id: 65ef380a5a7fb7909d120236173e73bafb5525fe $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotFoundResourceHandlerException(ResourceReference reference)
Construct a new exception with the specified detail message.NotFoundResourceHandlerException(ResourceReference resource, Throwable throwable)
Construct a new exception with the specified detail message and cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NotFoundResourceHandlerException
public NotFoundResourceHandlerException(ResourceReference reference)
Construct a new exception with the specified detail message.- Parameters:
reference
- the resource reference for which no Resource Handler could be found
-
NotFoundResourceHandlerException
public NotFoundResourceHandlerException(ResourceReference resource, Throwable throwable)
Construct a new exception with the specified detail message and cause.- Parameters:
resource
- the resource for which no Action could be foundthrowable
- the cause. This can be retrieved later by the Throwable.getCause() method. (A null value is permitted, and indicates that the cause is nonexistent or unknown)
-
-