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
 
Fields inherited from interface railo.runtime.err.ErrorPage
TYPE_EXCEPTION, TYPE_REQUEST, TYPE_VALIDATION
 
Constructor Summary
ErrorPageImpl()
           
 
Method Summary
 String getException()
           
 String getMailto()
           
 PageSource getTemplate()
           
 short getType()
           
 String getTypeAsString()
           
 void setException(String exception)
          sets the exception attribute
 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
 

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

setTemplate

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

Specified by:
setTemplate in interface ErrorPage

setTypeAsString

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

Specified by:
setTypeAsString in interface ErrorPage

setException

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

Specified by:
setException in interface ErrorPage

getMailto

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

getTemplate

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

getTypeAsString

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

getException

public String getException()
Specified by:
getException in interface ErrorPage
Returns:
Returns the exception type.

setType

public void setType(short type)
Specified by:
setType in interface ErrorPage

getType

public short getType()
Specified by:
getType in interface ErrorPage


Copyright © 2012 Railo