railo.runtime.exp
Interface IPageException

All Superinterfaces:
Dumpable, Serializable
All Known Implementing Classes:
Abort, AbortException, AbstrCFMLScriptTransformer.ComponentTemplateException, AlwaysThrow, ApplicationException, BytecodeException, CasterException, CSVParserException, CustomTypeException, DatabaseException, DateTimeException, DeprecatedException, ExpressionException, FTPException, FunctionException, FunctionNotSupported, HibernateException, HibernateRuntimeException, HTTPException, ImageException, InterpreterException, LockException, LockException, LockInterruptedException, MissingIncludeException, ModernAppListenerException, NativeException, ORMException, PageException, PageExceptionImpl, PageRuntimeException, PageServletException, ProcessingDirectiveException, RemoteAccessException, RemoteException, RequestTimeoutException, RPCException, SecurityException, ServiceException, TagAttributeException, TagNotSupported, TemplateException, UDFCasterException, XMLException

public interface IPageException
extends Dumpable

interface of the root business exception of railo


Method Summary
 void addContext(PageSource pageSource, int line, int column, StackTraceElement element)
          add a template to the context of the error
 Struct getAddional()
          Deprecated. use instead getAdditional();
 Struct getAdditional()
           
 CatchBlock getCatchBlock(Config config)
          return detailed catch block of the error
 Struct getCatchBlock(PageContext pc)
          Deprecated. use instead getCatchBlock(Config config);
 String getCustomTypeAsString()
          Error custom type as String
 String getDetail()
          return detailed error message
 Struct getErrorBlock(PageContext pc, ErrorPage ep)
          return detailed error block of the error
 String getErrorCode()
          Error Code
 String getExtendedInfo()
          return extended info to the error
 String getStackTraceAsString()
          returns the java stracktrace as a String
 int getTracePointer()
           
 String getTypeAsString()
          Error type as String
 void setDetail(String detail)
          sets detailed error message
 void setErrorCode(String errorCode)
          sets the Error Code
 void setExtendedInfo(String extendedInfo)
          sets extended info to the error
 void setTracePointer(int tracePointer)
           
 boolean typeEqual(String type)
          compare error type as String
 
Methods inherited from interface railo.runtime.dump.Dumpable
toDumpData
 

Method Detail

getDetail

String getDetail()
return detailed error message

Returns:
detailed error message

getErrorCode

String getErrorCode()
Error Code

Returns:
Error Code

getExtendedInfo

String getExtendedInfo()
return extended info to the error

Returns:
extended info

getTracePointer

int getTracePointer()
Returns:
Returns the tracePointer.

setTracePointer

void setTracePointer(int tracePointer)
Parameters:
tracePointer - The tracePointer to set.

getTypeAsString

String getTypeAsString()
Error type as String

Returns:
error type

getCustomTypeAsString

String getCustomTypeAsString()
Error custom type as String

Returns:
error type

getCatchBlock

Struct getCatchBlock(PageContext pc)
Deprecated. use instead getCatchBlock(Config config);

return detailed catch block of the error

Returns:
catch block

getCatchBlock

CatchBlock getCatchBlock(Config config)
return detailed catch block of the error

Returns:
catch block

getErrorBlock

Struct getErrorBlock(PageContext pc,
                     ErrorPage ep)
return detailed error block of the error

Parameters:
pc - page context of the request
ep - error page
Returns:
catch block

addContext

void addContext(PageSource pageSource,
                int line,
                int column,
                StackTraceElement element)
add a template to the context of the error

Parameters:
pageSource - new template context
line - line of the error
column - column of the error

typeEqual

boolean typeEqual(String type)
compare error type as String

Parameters:
type - other error type
Returns:
is same error type

setDetail

void setDetail(String detail)
sets detailed error message

Parameters:
detail -

setErrorCode

void setErrorCode(String errorCode)
sets the Error Code

Parameters:
errorCode -

setExtendedInfo

void setExtendedInfo(String extendedInfo)
sets extended info to the error

Parameters:
extendedInfo -

getAddional

Struct getAddional()
Deprecated. use instead getAdditional();

Returns:
Returns the additional.

getAdditional

Struct getAdditional()
Returns:
Returns the additional.

getStackTraceAsString

String getStackTraceAsString()
returns the java stracktrace as a String

Returns:
stack trace


Copyright © 2012 Railo