public class AppException extends Exception
| Constructor and Description |
|---|
AppException(AppError pError)
Creates a new exception with one error.
|
AppException(List<AppError> pErrors)
Creates a new exception.
|
AppException(String pMsg)
Creates a new exception with one error.
|
AppException(String pMsg,
Serializable[] pParams)
Creates a new exception with one error.
|
AppException(String pMsg,
Serializable[] pParams,
String pField)
Creates a new exception with one error.
|
AppException(String pMsg,
String pField)
Creates a new exception with one error.
|
| Modifier and Type | Method and Description |
|---|---|
List<AppError> |
getErrors()
Returns the errors attached to the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AppException(List<AppError> pErrors)
pErrors - Errors that caused the exception.public AppException(AppError pError)
pError - Error that caused the exception.public AppException(String pMsg)
pMsg - Message of the error.public AppException(String pMsg, Serializable[] pParams)
pMsg - Message of the error.pParams - Parameters of the message.public AppException(String pMsg, String pField)
pMsg - Message of the error.pField - Field of the error.public AppException(String pMsg, Serializable[] pParams, String pField)
pMsg - Message of the error.pParams - Parameters of the message.pField - Field of the error.Copyright © 2015. All rights reserved.