org.quattor.pan.exceptions
Class EvaluationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.quattor.pan.exceptions.EvaluationException
- All Implemented Interfaces:
- java.io.Serializable
public class EvaluationException
- extends java.lang.RuntimeException
Exceptions of this type can be thrown during the construction of the pan
language profiles. They can also be thrown during the evaluation of
compile-time constants or when setting default values.
- Author:
- loomis
- See Also:
- Serialized Form
|
Method Summary |
EvaluationException |
addExceptionInfo(SourceRange sourceRange,
Context context)
|
EvaluationException |
addExceptionInfo(SourceRange sourceRange,
java.io.File file,
java.lang.String traceback)
|
static EvaluationException |
create(SourceRange sourceRange,
Context context,
java.lang.String msgkey,
java.lang.Object... args)
|
static EvaluationException |
create(SourceRange sourceRange,
EvaluationException ee)
|
static EvaluationException |
create(SourceRange sourceRange,
java.io.File file,
java.lang.String msgkey,
java.lang.Object... args)
|
static EvaluationException |
create(SourceRange sourceRange,
java.lang.String msgkey,
java.lang.Object... args)
|
static EvaluationException |
create(java.lang.String msgkey,
java.lang.Object... args)
|
java.lang.String |
getMessage()
|
java.lang.String |
getSimpleMessage()
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EvaluationException
public EvaluationException(java.lang.String message)
EvaluationException
public EvaluationException(java.lang.String message,
SourceRange sourceRange)
EvaluationException
public EvaluationException(java.lang.String message,
SourceRange sourceRange,
java.io.File file)
EvaluationException
public EvaluationException(java.lang.String message,
SourceRange sourceRange,
java.io.File file,
java.lang.String traceback)
EvaluationException
public EvaluationException(java.lang.String message,
SourceRange sourceRange,
Context context)
create
public static EvaluationException create(SourceRange sourceRange,
java.lang.String msgkey,
java.lang.Object... args)
create
public static EvaluationException create(java.lang.String msgkey,
java.lang.Object... args)
create
public static EvaluationException create(SourceRange sourceRange,
java.io.File file,
java.lang.String msgkey,
java.lang.Object... args)
create
public static EvaluationException create(SourceRange sourceRange,
Context context,
java.lang.String msgkey,
java.lang.Object... args)
create
public static EvaluationException create(SourceRange sourceRange,
EvaluationException ee)
addExceptionInfo
public EvaluationException addExceptionInfo(SourceRange sourceRange,
java.io.File file,
java.lang.String traceback)
addExceptionInfo
public EvaluationException addExceptionInfo(SourceRange sourceRange,
Context context)
getSimpleMessage
public java.lang.String getSimpleMessage()
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage in class java.lang.Throwable
Copyright © 2011 Quattor. All Rights Reserved.