Package net.sf.jmimemagic
Class UnsupportedTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.sf.jmimemagic.UnsupportedTypeException
-
- All Implemented Interfaces:
java.io.Serializable
public class UnsupportedTypeException extends java.lang.Exception
JMimeMagic unsupported test type exception. This exception is thrown when an unsupported test type is specified in a mime magic test- Version:
- $Revision: 1.1 $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description UnsupportedTypeException()
Default constructorUnsupportedTypeException(java.lang.String message)
Create exception with error messageUnsupportedTypeException(java.lang.String message, java.lang.Throwable cause)
Create an exception with custom message and throwable infoUnsupportedTypeException(java.lang.Throwable cause)
Create exception based on an existing Throwable
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UnsupportedTypeException
public UnsupportedTypeException()
Default constructor
-
UnsupportedTypeException
public UnsupportedTypeException(java.lang.String message)
Create exception with error message- Parameters:
message
- The error message for this exception
-
UnsupportedTypeException
public UnsupportedTypeException(java.lang.Throwable cause)
Create exception based on an existing Throwable- Parameters:
cause
- The throwable on which we'll base this exception
-
UnsupportedTypeException
public UnsupportedTypeException(java.lang.String message, java.lang.Throwable cause)
Create an exception with custom message and throwable info- Parameters:
message
- The messagecause
- The target Throwable
-
-