ch.elca.dependency.exception
Class InvalidClassFileException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--ch.elca.dependency.exception.InvalidClassFileException
- All Implemented Interfaces:
- java.io.Serializable
- public class InvalidClassFileException
- extends java.lang.Exception
Exception that is thrown if the .class file could not properly read
or if there was a problem with the initialisation. This exception
occurs if there is no possibility to read a specific class
file. There can be problems with the class file itself or even with
the FileInputStream
. There is no way to recover the
error during the runtime by the user. So the application has to be
stopped or the corrupt class file has to be skipped.
- Version:
- 1.0-beta
- Author:
- Christoph Trutmann
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getMessage()
Gets the message of this exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvalidClassFileException
public InvalidClassFileException()
- Constructor - without argument.
InvalidClassFileException
public InvalidClassFileException(java.lang.String message)
- Constructor - with specified message string.
- Parameters:
message
- Message for explaining the exception.
getMessage
public java.lang.String getMessage()
- Gets the message of this exception.
- Overrides:
getMessage
in class java.lang.Throwable
- Returns:
- Message string describing this exception.
Copyright © 2003 ELCA Informatique SA. All Rights Reserved.