railo.runtime.err
Interface ErrorPage

All Known Implementing Classes:
ErrorPageImpl

public interface ErrorPage

represent a Error Page


Field Summary
static short TYPE_EXCEPTION
           
static short TYPE_REQUEST
           
static short TYPE_VALIDATION
           
 
Method Summary
 String getException()
           
 String getMailto()
           
 PageSource getTemplate()
           
 short getType()
           
 String getTypeAsString()
          Deprecated. use instead getException();
 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)
          Deprecated. use instead setException(String exception);
 

Field Detail

TYPE_EXCEPTION

static final short TYPE_EXCEPTION
See Also:
Constant Field Values

TYPE_REQUEST

static final short TYPE_REQUEST
See Also:
Constant Field Values

TYPE_VALIDATION

static final short TYPE_VALIDATION
See Also:
Constant Field Values
Method Detail

setMailto

void setMailto(String mailto)
sets the mailto attribute

Parameters:
mailto -

setTemplate

void setTemplate(PageSource template)
sets the template attribute

Parameters:
template -

setTypeAsString

void setTypeAsString(String exception)
Deprecated. use instead setException(String exception);

sets the exception attribute

Parameters:
exception -

setException

void setException(String exception)
sets the exception attribute

Parameters:
exception -

getMailto

String getMailto()
Returns:
Returns the mailto.

getTemplate

PageSource getTemplate()
Returns:
Returns the template.

getTypeAsString

String getTypeAsString()
Deprecated. use instead getException();

Returns:
Returns the exception type.

getException

String getException()
Returns:
Returns the exception type.

setType

void setType(short type)

getType

short getType()


Copyright © 2012 Railo