railo.runtime.err
Class ErrorPageImpl

java.lang.Object
  extended by railo.runtime.err.ErrorPageImpl
All Implemented Interfaces:
ErrorPage

public final class ErrorPageImpl
extends Object
implements ErrorPage


Field Summary
static short TYPE_EXCEPTION
           
static short TYPE_REQUEST
           
static short TYPE_VALIDATION
           
 
Constructor Summary
ErrorPageImpl()
           
 
Method Summary
 String getException()
           
 String getMailto()
           
 PageSource getTemplate()
           
 short getType()
           
 String getTypeAsString()
           
 void setException(String exception)
           
 void setMailto(String mailto)
          sets the mailto attribute
 void setTemplate(PageSource template)
          sets the template attribute
 void setType(short type)
           
 void setTypeAsString(String exception)
          sets the exception attribute
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_EXCEPTION

public static final short TYPE_EXCEPTION
See Also:
Constant Field Values

TYPE_REQUEST

public static final short TYPE_REQUEST
See Also:
Constant Field Values

TYPE_VALIDATION

public static final short TYPE_VALIDATION
See Also:
Constant Field Values
Constructor Detail

ErrorPageImpl

public ErrorPageImpl()
Method Detail

setMailto

public void setMailto(String mailto)
Description copied from interface: ErrorPage
sets the mailto attribute

Specified by:
setMailto in interface ErrorPage
See Also:
ErrorPage.setMailto(java.lang.String)

setTemplate

public void setTemplate(PageSource template)
Description copied from interface: ErrorPage
sets the template attribute

Specified by:
setTemplate in interface ErrorPage
See Also:
ErrorPage.setTemplate(railo.runtime.PageSource)

setTypeAsString

public void setTypeAsString(String exception)
Description copied from interface: ErrorPage
sets the exception attribute

Specified by:
setTypeAsString in interface ErrorPage
See Also:
ErrorPage.setTypeAsString(java.lang.String)

setException

public void setException(String exception)

getMailto

public String getMailto()
Specified by:
getMailto in interface ErrorPage
Returns:
Returns the mailto.
See Also:
ErrorPage.getMailto()

getTemplate

public PageSource getTemplate()
Specified by:
getTemplate in interface ErrorPage
Returns:
Returns the template.
See Also:
ErrorPage.getTemplate()

getTypeAsString

public String getTypeAsString()
Specified by:
getTypeAsString in interface ErrorPage
Returns:
Returns the exception type.
See Also:
ErrorPage.getTypeAsString()

getException

public String getException()

setType

public void setType(short type)

getType

public short getType()


Copyright © 2012 Railo