com.svcon.jdbf
Class JDBFException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.svcon.jdbf.JDBFException
All Implemented Interfaces:
java.io.Serializable

public class JDBFException
extends java.lang.Exception

Used to indicate a fatal error, while writing or reading a database (DBF) file.

See Also:
Serialized Form

Constructor Summary
JDBFException(java.lang.String message)
          Constructs a JDBFException with a given message.
JDBFException(java.lang.String message, java.lang.Throwable detail)
          Constructs a nested JDBFException, containing another exception and a specific message.
JDBFException(java.lang.Throwable detail)
          Constructs a nested JDBFException, containing another exception.
 
Method Summary
 java.lang.String getMessage()
          Returns the message for the exception.
 void printStackTrace()
          Prints the stack of the exception to the standard error.
 void printStackTrace(java.io.PrintStream ps)
          Prints the stack of the exception.
 void printStackTrace(java.io.PrintWriter pw)
          Prints the stack of the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JDBFException

public JDBFException(java.lang.String message)
Constructs a JDBFException with a given message.
Parameters:
message - the message.

JDBFException

public JDBFException(java.lang.Throwable detail)
Constructs a nested JDBFException, containing another exception.
Parameters:
detail - the other exception.

JDBFException

public JDBFException(java.lang.String message,
                     java.lang.Throwable detail)
Constructs a nested JDBFException, containing another exception and a specific message.
Parameters:
message - the message.
detail - the other exception.
Method Detail

getMessage

public java.lang.String getMessage()
Returns the message for the exception.
Overrides:
getMessage in class java.lang.Throwable
Returns:
the message for the exception.

printStackTrace

public void printStackTrace(java.io.PrintStream ps)
Prints the stack of the exception.
Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
ps - PrintStream object to print to.

printStackTrace

public void printStackTrace()
Prints the stack of the exception to the standard error.
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter pw)
Prints the stack of the exception.
Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
pw - a PrintWriter object to print to.