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:
  `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
  Description
  `MethodCompileException(String message, String methodBody, Throwable cause)`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### MethodCompileException

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

- ## Method Details

  - ### getMethodBody

    public String getMethodBody()