|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.common.RubyErrorHandler
Constructor Summary | |
RubyErrorHandler(Ruby runtime)
Constructor for RubyErrorHandler. |
Method Summary | |
void |
handleError(int type,
ISourcePosition position,
java.lang.String message)
|
void |
handleError(int type,
ISourcePosition position,
java.lang.String message,
java.lang.Object args)
|
void |
handleError(int type,
java.lang.String message)
|
boolean |
isHandled(int type)
|
boolean |
isVerbose()
Gets the verbose. |
void |
setVerbose(boolean verbose)
Sets the verbose. |
void |
warn(java.lang.String message)
|
void |
warning(java.lang.String message)
reports only if in verbose mode. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RubyErrorHandler(Ruby runtime)
Method Detail |
public boolean isHandled(int type)
isHandled
in interface IErrorHandler
IErrorHandler.isHandled(int)
public void handleError(int type, ISourcePosition position, java.lang.String message, java.lang.Object args)
handleError
in interface IErrorHandler
IErrorHandler.handleError(int, ISourcePosition, String, Object)
public void handleError(int type, ISourcePosition position, java.lang.String message)
handleError
in interface IErrorHandler
IErrorHandler.handleError(int, ISourcePosition, String)
public void handleError(int type, java.lang.String message)
handleError
in interface IErrorHandler
IErrorHandler.handleError(int, String)
public boolean isVerbose()
isVerbose
in interface IRubyErrorHandler
public void setVerbose(boolean verbose)
setVerbose
in interface IRubyErrorHandler
verbose
- The verbose to setpublic void warn(java.lang.String message)
warn
in interface IRubyErrorHandler
IRubyErrorHandler.warn(String)
public void warning(java.lang.String message)
IRubyErrorHandler
warning
in interface IRubyErrorHandler
IRubyErrorHandler.warning(String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |