Package org.pentaho.di.core.exception
Class KettleFileException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.pentaho.di.core.exception.KettleException
-
- org.pentaho.di.core.exception.KettleFileException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
KettleEOFException
,KettleFileNotFoundException
public class KettleFileException extends KettleException
This is an exception thrown by file handling (I/O) when an End Of File marker has been reached.- Since:
- 30-MAR-2004
- Author:
- Matt
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description KettleFileException()
Constructs a new throwable with null as its detail message.KettleFileException(String message)
Constructs a new throwable with the specified detail message.KettleFileException(String message, Throwable cause)
Constructs a new throwable with the specified detail message and cause.KettleFileException(Throwable cause)
Constructs a new throwable with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
get the messages back to it's origin cause.-
Methods inherited from class org.pentaho.di.core.exception.KettleException
getSuperMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
KettleFileException
public KettleFileException()
Constructs a new throwable with null as its detail message.
-
KettleFileException
public KettleFileException(String message)
Constructs a new throwable with the specified detail message.- Parameters:
message
- - the detail message. The detail message is saved for later retrieval by the getMessage() method.
-
KettleFileException
public KettleFileException(Throwable cause)
Constructs a new throwable with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).- Parameters:
cause
- the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
KettleFileException
public KettleFileException(String message, Throwable cause)
Constructs a new throwable with the specified detail message and cause.- Parameters:
message
- the detail message (which is saved for later retrieval by the getMessage() method).cause
- the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
-
Method Detail
-
getMessage
public String getMessage()
get the messages back to it's origin cause.- Overrides:
getMessage
in classKettleException
-
-