Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate

com.aspose.pdf.kit
Class PdfKitException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.aspose.pdf.kit.PdfKitException
All Implemented Interfaces:
java.io.Serializable

public class PdfKitException
extends java.lang.Exception

Represents an exception class for handling exceptions throwed by based kit interface.

See Also:
Serialized Form

Constructor Summary
PdfKitException()
          Constructs a new exception with null as its detail message.
PdfKitException(java.lang.Exception ex)
          Constructs a new exception with the specified Exception.
PdfKitException(java.lang.String message)
          Constructs a new exception with the specified detail message.
 
Method Summary
 java.lang.String getLocalizedMessage()
          Creates a localized description of this exception.
 java.lang.String getMessage()
          Returns the detail message string of this exception.
 void printStackTrace()
          Prints backtrace to System.err stream.
 void printStackTrace(java.io.PrintStream s)
          Prints backtrace to the specified print stream.
 void printStackTrace(java.io.PrintWriter s)
          Prints this exception and its backtrace to the specified print writer.
 java.lang.String toString()
          Returns a short description of this throwable.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PdfKitException

public PdfKitException(java.lang.Exception ex)
Constructs a new exception with the specified Exception.

Parameters:
ex - Exception

PdfKitException

public PdfKitException()
Constructs a new exception with null as its detail message.


PdfKitException

public PdfKitException(java.lang.String message)
Constructs a new exception with the specified detail message.

Parameters:
message - String the detail message
Method Detail

getMessage

public java.lang.String getMessage()
Returns the detail message string of this exception.

Returns:
String the detail message string

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Creates a localized description of this exception.


toString

public java.lang.String toString()
Returns a short description of this throwable.

Returns:
String a string representation of this exception

printStackTrace

public void printStackTrace()
Prints backtrace to System.err stream.


printStackTrace

public void printStackTrace(java.io.PrintStream s)
Prints backtrace to the specified print stream.

Parameters:
s - PrintStream to use for output

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Prints this exception and its backtrace to the specified print writer.

Parameters:
s - PrintWriter