org.alchar.jdtk
Class DECtalkException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.alchar.jdtk.DECtalkException
All Implemented Interfaces:
Serializable

public class DECtalkException
extends Exception

This class implements the exception that is thrown when a DECtalk operation fails.

See Also:
Serialized Form

Constructor Summary
DECtalkException(int errorCode)
          Create a new DECtalkException for a given DECtalk error code.
DECtalkException(String message)
          Create a new DECtalkException with a given message.
DECtalkException(String message, Throwable cause)
          Create a new DECtalkException with a given message and cause.
 
Method Summary
 
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

DECtalkException

public DECtalkException(int errorCode)
Create a new DECtalkException for a given DECtalk error code.

Parameters:
errorCode - Error code

DECtalkException

public DECtalkException(String message)
Create a new DECtalkException with a given message.

Parameters:
message - Exception message

DECtalkException

public DECtalkException(String message,
                        Throwable cause)
Create a new DECtalkException with a given message and cause.

Parameters:
message - Exception message
cause - Cause for the exception


Copyright © 2007-2009 Kris Van Hees. All Rights Reserved.