Skip to main content
[ This file is autogenerated from apexdoc ]

virtual AqException

Base custom exception

Inheritance

AqException

Group apex/core

Constructors​

public AqException(AqResult result)​

Construct exception from result

public AqException(String code, String scopeType, String scope)​

Construct from values


Fields​

public Result → AqResult​


Properties​

public ScopeType → String​

Identifies the type of data that the exception applies to

public Scope → String​

Identifies the data that the exception applies to

public Code → String​

Invariant code for the exception that can be used to identify a specific exception condition.


Methods​

public virtual ExceptionDetail getDetail()​

Return serializable detail specific to the exception type.

public static ExceptionDetail getExceptionDetail(System e)​

Return serializable detail for any exception.


Classes​

ExceptionDetail​

Serializable class holding exception detail beyond the message.

Constructors​

public ExceptionDetail(System e)​

Properties​

public LineNumber → Integer​
public StackTrace → String​

DmlRowDetail​

Serializable exception information for one DML row

Constructors​

public DmlRowDetail(System e, Integer rowDetailNum)​

Construct from DmlException row

public DmlRowDetail(System e, Integer rowDetailNum)​

Construct from EmailException row


Properties​

public RowIndex → Integer​
public FieldNames → List<String>​
public RecordId → String​
public Message → String​
public Type → String​