|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.sf.jmimemagic.MagicException
Basic JMimeMagic parse exception. This is simply a holder to identify a parsing problem. It should be extended to identify more specific issues.
| Constructor Summary | |
MagicException()
Default constructor |
|
MagicException(java.lang.String message)
Create exception with error message |
|
MagicException(java.lang.String message,
java.lang.Throwable cause)
Create an exception with custom message and throwable info |
|
MagicException(java.lang.Throwable cause)
Create exception based on an existing Throwable |
|
| 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 |
public MagicException()
public MagicException(java.lang.String message)
message - The error message for this exceptionpublic MagicException(java.lang.Throwable cause)
cause - The throwable on which we'll base this exception
public MagicException(java.lang.String message,
java.lang.Throwable cause)
message - The messagecause - The target Throwable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||