org.apertereports.common.exception
Class AperteReportsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apertereports.common.exception.AperteReportsException
All Implemented Interfaces:
Serializable

public class AperteReportsException
extends Exception

Universal checked exception, indicating errors that must be handled directly.

See Also:
Serialized Form

Constructor Summary
AperteReportsException(ReportConstants.ErrorCodes errorCode)
           
AperteReportsException(ReportConstants.ErrorCodes errorCode, String detail)
           
AperteReportsException(ReportConstants.ErrorCodes errorCode, String[] errorDetails)
           
AperteReportsException(ReportConstants.ErrorCodes errorCode, String[] errorDetails, Throwable cause)
           
AperteReportsException(ReportConstants.ErrorCodes errorCode, Throwable cause)
           
AperteReportsException(Throwable cause)
           
 
Method Summary
 ReportConstants.ErrorCodes getErrorCode()
           
 String[] getErrorDetails()
           
 
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

AperteReportsException

public AperteReportsException(ReportConstants.ErrorCodes errorCode)

AperteReportsException

public AperteReportsException(ReportConstants.ErrorCodes errorCode,
                              String[] errorDetails)

AperteReportsException

public AperteReportsException(ReportConstants.ErrorCodes errorCode,
                              Throwable cause)

AperteReportsException

public AperteReportsException(ReportConstants.ErrorCodes errorCode,
                              String[] errorDetails,
                              Throwable cause)

AperteReportsException

public AperteReportsException(Throwable cause)

AperteReportsException

public AperteReportsException(ReportConstants.ErrorCodes errorCode,
                              String detail)
Method Detail

getErrorCode

public ReportConstants.ErrorCodes getErrorCode()

getErrorDetails

public String[] getErrorDetails()


Copyright © 2011-2012. All Rights Reserved.