railo.runtime.exp
Class NativeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.servlet.jsp.JspException
              extended by railo.runtime.exp.PageException
                  extended by railo.runtime.exp.PageExceptionImpl
                      extended by railo.runtime.exp.NativeException
All Implemented Interfaces:
Serializable, Dumpable, IPageException
Direct Known Subclasses:
LockInterruptedException

public class NativeException
extends PageExceptionImpl

Box a Native Exception, Native = !PageException

See Also:
Serialized Form

Constructor Summary
NativeException(Throwable t)
          Standart constructor for native Exception class
 
Method Summary
 void setAdditional(Collection.Key key, Object value)
          set a additional key value
 DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp)
          method to print out information to a object as HTML
 boolean typeEqual(String type)
          compare error type as String
 
Methods inherited from class railo.runtime.exp.PageExceptionImpl
addContext, getAddional, getAdditional, getCatchBlock, getCatchBlock, getCatchBlock, getCustomTypeAsString, getDetail, getErrorBlock, getErrorCode, getExtendedInfo, getLine, getPageDeep, getRootCause, getStackTrace, getStackTraceAsString, getTagContext, getTagContext, getTracePointer, getTypeAsString, printStackTrace, printStackTrace, printStackTrace, setDetail, setErrorCode, setExtendedInfo, setTracePointer
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NativeException

public NativeException(Throwable t)
Standart constructor for native Exception class

Parameters:
t - Throwable
Method Detail

toDumpData

public DumpData toDumpData(PageContext pageContext,
                           int maxlevel,
                           DumpProperties dp)
Description copied from interface: Dumpable
method to print out information to a object as HTML

Specified by:
toDumpData in interface Dumpable
Overrides:
toDumpData in class PageExceptionImpl
Returns:
HTML print out

typeEqual

public boolean typeEqual(String type)
Description copied from interface: IPageException
compare error type as String

Specified by:
typeEqual in interface IPageException
Overrides:
typeEqual in class PageExceptionImpl
Parameters:
type - other error type
Returns:
is same error type

setAdditional

public void setAdditional(Collection.Key key,
                          Object value)
Description copied from class: PageExceptionImpl
set a additional key value

Overrides:
setAdditional in class PageExceptionImpl


Copyright © 2012 Railo