org.apertereports.common.exception
Class AperteReportsRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apertereports.common.exception.AperteReportsRuntimeException
- All Implemented Interfaces:
- Serializable
public class AperteReportsRuntimeException
- extends RuntimeException
Unchecked exception used to propagate errors and handle them in higher level
layers.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AperteReportsRuntimeException
public AperteReportsRuntimeException(ReportConstants.ErrorCodes errorCode)
AperteReportsRuntimeException
public AperteReportsRuntimeException(String message,
ReportConstants.ErrorCodes errorCode)
AperteReportsRuntimeException
public AperteReportsRuntimeException(String message,
ReportConstants.ErrorCodes errorCode,
Throwable cause)
AperteReportsRuntimeException
public AperteReportsRuntimeException(ReportConstants.ErrorCodes errorCode,
Throwable cause)
AperteReportsRuntimeException
public AperteReportsRuntimeException(AperteReportsException e)
- Wraps checked exception (business error).
- Parameters:
e -
AperteReportsRuntimeException
public AperteReportsRuntimeException(Exception e)
- Wraps technical error.
- Parameters:
e -
getErrorCode
public ReportConstants.ErrorCodes getErrorCode()
getErrorDetails
public String[] getErrorDetails()
getLocalizationPrefix
public String getLocalizationPrefix()
Copyright © 2011-2012. All Rights Reserved.