org.codehaus.groovy.grails.web.servlet.mvc.exceptions
Class UnsupportedReturnValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.codehaus.groovy.grails.exceptions.GrailsException
org.codehaus.groovy.grails.web.servlet.mvc.exceptions.GrailsMVCException
org.codehaus.groovy.grails.web.servlet.mvc.exceptions.UnsupportedReturnValueException
- All Implemented Interfaces:
- Serializable
public class UnsupportedReturnValueException
- extends GrailsMVCException
Thrown when the return value of a closure is unsupported.
If you are using a builder in your code and this exception
is thrown you may need to return a null value at the end of
the closure to avoid this exception.
- Author:
- Steven Devijver
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnsupportedReturnValueException
public UnsupportedReturnValueException()
UnsupportedReturnValueException
public UnsupportedReturnValueException(String message)
UnsupportedReturnValueException
public UnsupportedReturnValueException(String message,
Throwable cause)
UnsupportedReturnValueException
public UnsupportedReturnValueException(Throwable cause)