Class MagicException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.sf.jmimemagic.MagicException
- All Implemented Interfaces:
Serializable
Basic JMimeMagic parse exception. This is simply a holder to identify a parsing problem. It
should be extended to identify more specific issues.
- Version:
- $Revision: 1.1 $
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorMagicException(String message) Create exception with error messageMagicException(String message, Throwable cause) Create an exception with custom message and throwable infoMagicException(Throwable cause) Create exception based on an existing Throwable -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
MagicException
public MagicException()Default constructor -
MagicException
Create exception with error message- Parameters:
message- The error message for this exception
-
MagicException
Create exception based on an existing Throwable- Parameters:
cause- The throwable on which we'll base this exception
-
MagicException
-