Package org.eclipse.xsemantics.runtime
Class RuleFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.xsemantics.runtime.RuleFailedException
-
- All Implemented Interfaces:
java.io.Serializable
public class RuleFailedException extends java.lang.RuntimeExceptionRepresents the failure of a rule application- Author:
- Lorenzo Bettini
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ErrorInformation>errorInformationsprotected java.lang.Stringissueprotected RuleFailedExceptionpreviousthe previous exception in the trace of failures
-
Constructor Summary
Constructors Constructor Description RuleFailedException()RuleFailedException(java.lang.String arg0)RuleFailedException(java.lang.String failed, java.lang.String issue2, java.lang.Throwable t)RuleFailedException(java.lang.String arg0, RuleFailedException previous)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddErrorInformation(ErrorInformation errorInformation)voidaddErrorInformations(ErrorInformation... errorInformations)java.util.List<ErrorInformation>getErrorInformations()java.lang.StringgetIssue()RuleFailedExceptiongetPrevious()
-
-
-
Field Detail
-
issue
protected final java.lang.String issue
-
errorInformations
protected final transient java.util.List<ErrorInformation> errorInformations
-
previous
protected final RuleFailedException previous
the previous exception in the trace of failures
-
-
Constructor Detail
-
RuleFailedException
public RuleFailedException()
-
RuleFailedException
public RuleFailedException(java.lang.String arg0)
-
RuleFailedException
public RuleFailedException(java.lang.String failed, java.lang.String issue2, java.lang.Throwable t)
-
RuleFailedException
public RuleFailedException(java.lang.String arg0, RuleFailedException previous)
-
-
Method Detail
-
getErrorInformations
public java.util.List<ErrorInformation> getErrorInformations()
-
addErrorInformation
public void addErrorInformation(ErrorInformation errorInformation)
-
addErrorInformations
public void addErrorInformations(ErrorInformation... errorInformations)
-
getPrevious
public RuleFailedException getPrevious()
-
getIssue
public java.lang.String getIssue()
-
-