at.gv.egiz.pdfas.api.exceptions
Class PdfAsException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byat.gv.egiz.pdfas.api.exceptions.PdfAsException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PresentableException

public abstract class PdfAsException
extends Exception

This exception is the base for all PDF-AS exceptions.

Every PDF-AS Exception has an error code.

Author:
wprinz
See Also:
Serialized Form

Field Summary
protected  int errorCode
          The error code.
 
Constructor Summary
PdfAsException(int errorCode, String message)
          Constructor.
PdfAsException(int errorCode, String message, Throwable cause)
          Constructor.
PdfAsException(int errorCode, Throwable cause)
          Constructor.
 
Method Summary
 int getErrorCode()
          Returns the error code of this exception.
 
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
 

Field Detail

errorCode

protected int errorCode
The error code.

Constructor Detail

PdfAsException

public PdfAsException(int errorCode,
                      String message)
Constructor.

Parameters:
errorCode - The error code.
message - The detail message.

PdfAsException

public PdfAsException(int errorCode,
                      String message,
                      Throwable cause)
Constructor.

Parameters:
errorCode - The error code.
message - The detail message.
cause - The cause.

PdfAsException

public PdfAsException(int errorCode,
                      Throwable cause)
Constructor.

Parameters:
errorCode - The error code.
cause - The cause.
Method Detail

getErrorCode

public int getErrorCode()
Returns the error code of this exception.

Returns:
Returns the error code of this exception.


Copyright © 2006-2010. All Rights Reserved.