uk.ac.starlink.hdx
Class PluginException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
uk.ac.starlink.hdx.PluginException
- All Implemented Interfaces:
- Serializable
public class PluginException
- extends RuntimeException
Unchecked exception to indicate that a plugin has violated its contract.
This is generally thrown by code in the Hdx package, to indicate
that one of the classes extending the system has violated its
contract. However, it may also be thrown by client code,
implementing such extensions, if it wishes to indicate a
`this-can't-happen' error during its initialisation.
- Version:
- $Id$
- Author:
- Norman Gray
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
PluginException
public PluginException(String s)
PluginException
public PluginException(Exception e)
- Construct an HdxException from another Exception. Retains the
original message and stack trace.
- Parameters:
e
- the exception to be recast as an HdxException.
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.