org.apache.tapestry5.internal.services

## Class MethodCompileException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.apache.tapestry5.internal.services.MethodCompileException

- All Implemented Interfaces:
    Serializable

      public class MethodCompileException
      extends RuntimeException

  Exception thrown when a method body fails to compile; this will allow the method body to be displayed to the user on the request failure page.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MethodCompileException(String message, String methodBody, Throwable cause)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getMethodBody()`

    - ### 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

    - #### MethodCompileException

          public MethodCompileException(String message,
                                        String methodBody,
                                        Throwable cause)

  - ### Method Detail

    - #### getMethodBody

          public String getMethodBody()

5.6.0 - Copyright © 2003-2020 The Apache Software Foundation.