Package 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:
    `java.io.Serializable`

      public class MethodCompileException
      extends java.lang.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 | Description
    --- | ---
    `MethodCompileException​(java.lang.String message, java.lang.String methodBody, java.lang.Throwable cause)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.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​(java.lang.String message,
                                        java.lang.String methodBody,
                                        java.lang.Throwable cause)

  - ### Method Detail

    - #### getMethodBody

          public java.lang.String getMethodBody()