org.xwiki.resource
Class UnsupportedResourceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.xwiki.resource.UnsupportedResourceException
All Implemented Interfaces:
Serializable

@Unstable
public class UnsupportedResourceException
extends Exception

Means the Resource is of a type for which we don't have any parser.

Since:
5.3M1
Version:
$Id: e8b36d3ee9d02bff6ad80afe63461fe44d44b304 $
See Also:
Serialized Form

Constructor Summary
UnsupportedResourceException(String message)
           
UnsupportedResourceException(String message, Throwable throwable)
           
 
Method Summary
 
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
 

Constructor Detail

UnsupportedResourceException

public UnsupportedResourceException(String message)
Parameters:
message - The detailed message. This can later be retrieved by the Throwable.getMessage() method.

UnsupportedResourceException

public UnsupportedResourceException(String message,
                                    Throwable throwable)
Parameters:
message - The detailed message. This can later be retrieved by the Throwable.getMessage() method.
throwable - 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)


Copyright © 2004–2014 XWiki. All rights reserved.