|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mysql.management.util.Exceptions
public class Exceptions
| Nested Class Summary | |
|---|---|
static class |
Exceptions.Block
|
static class |
Exceptions.SQLBlock
|
static class |
Exceptions.StringBlock
|
static class |
Exceptions.VoidBlock
|
| Constructor Summary | |
|---|---|
Exceptions()
|
|
Exceptions(java.io.PrintStream log)
|
|
| Method Summary | |
|---|---|
protected void |
log(java.lang.Exception e)
This is final simply as a hint to the compiler, it may be un-finalized safely. |
java.lang.RuntimeException |
toRuntime(java.lang.Exception e)
Convienence funciton to convert checked exceptions to RuntimeException |
java.sql.SQLException |
toSQLException(java.lang.Exception e)
This is final simply as a hint to the compiler, it may be un-finalized safely. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Exceptions()
public Exceptions(java.io.PrintStream log)
| Method Detail |
|---|
public final java.lang.RuntimeException toRuntime(java.lang.Exception e)
e - java.lang.Exception
public final java.sql.SQLException toSQLException(java.lang.Exception e)
protected final void log(java.lang.Exception e)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||