|
|||||||||||
| 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 IErrorHandlerIErrorHandler.isHandled(int)
public void handleError(int type,
ISourcePosition position,
java.lang.String message,
java.lang.Object args)
handleError in interface IErrorHandlerIErrorHandler.handleError(int, ISourcePosition, String, Object)
public void handleError(int type,
ISourcePosition position,
java.lang.String message)
handleError in interface IErrorHandlerIErrorHandler.handleError(int, ISourcePosition, String)
public void handleError(int type,
java.lang.String message)
handleError in interface IErrorHandlerIErrorHandler.handleError(int, String)public boolean isVerbose()
isVerbose in interface IRubyErrorHandlerpublic void setVerbose(boolean verbose)
setVerbose in interface IRubyErrorHandlerverbose - The verbose to setpublic void warn(java.lang.String message)
warn in interface IRubyErrorHandlerIRubyErrorHandler.warn(String)public void warning(java.lang.String message)
IRubyErrorHandler
warning in interface IRubyErrorHandlerIRubyErrorHandler.warning(String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||