org.apache.ode.bpel.compiler.api

## Class CompilationException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.apache.ode.bpel.compiler.api.CompilationException

- All Implemented Interfaces:
    java.io.Serializable

      public class CompilationException
      extends java.lang.RuntimeException

  Exception indicating a compilation error.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CompilationException(CompilationMessage msg)`
    `CompilationException(CompilationMessage msg, java.lang.Throwable cause)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `CompilationMessage` | `getCompilationMessage()` Get the `CompilationMessage` associated with this exception}.
    `java.lang.String` | `toErrorMessage()`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### CompilationException

          public CompilationException(CompilationMessage msg,
                              java.lang.Throwable cause)

    - #### CompilationException

          public CompilationException(CompilationMessage msg)

      See Also:
        `Exception.Exception(String,Throwable)`

  - ### Method Detail

    - #### toErrorMessage

          public java.lang.String toErrorMessage()

    - #### getCompilationMessage

          public CompilationMessage getCompilationMessage()

      Get the `CompilationMessage` associated with this exception}.