Class TranslationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.fraunhofer.aisec.cpg.frontends.TranslationException
- All Implemented Interfaces:
java.io.Serializable
public class TranslationException
extends java.lang.Exception
A generic exception that can be thrown from a
LanguageFrontend, if it reaches a state
where it cannot continue translating source code into the graph.
Ideally, this should never be thrown since we want to fuzzy parse the source code as much as possible.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description TranslationException(java.lang.Exception ex)TranslationException(java.lang.String message) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
TranslationException
public TranslationException(java.lang.Exception ex) -
TranslationException
public TranslationException(java.lang.String message)
-