ml.shifu.guagua
类 GuaguaRuntimeException

java.lang.Object
  继承者 java.lang.Throwable
      继承者 java.lang.Exception
          继承者 java.lang.RuntimeException
              继承者 ml.shifu.guagua.GuaguaRuntimeException
所有已实现的接口:
Serializable

public class GuaguaRuntimeException
extends RuntimeException

GuaguaRuntimeException which is used to wrap all RuntimeExceptions in guagua framework.

另请参见:
序列化表格

构造方法摘要
GuaguaRuntimeException()
          Constructs a new guagua runtime exception with null as its detail message.
GuaguaRuntimeException(String message)
          Constructs a new guagua runtime exception with the specified detail message.
GuaguaRuntimeException(String message, Throwable cause)
          Constructs a new guagua runtime exception with the specified detail message and cause.
GuaguaRuntimeException(Throwable cause)
          Constructs a new guagua runtime exception with the specified cause and a detail message of (cause==null ?
 
方法摘要
 
从类 java.lang.Throwable 继承的方法
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

GuaguaRuntimeException

public GuaguaRuntimeException()
Constructs a new guagua runtime exception with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).


GuaguaRuntimeException

public GuaguaRuntimeException(String message)
Constructs a new guagua runtime exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).

参数:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.

GuaguaRuntimeException

public GuaguaRuntimeException(String message,
                              Throwable cause)
Constructs a new guagua runtime exception with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this runtime exception's detail message.

参数:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

GuaguaRuntimeException

public GuaguaRuntimeException(Throwable cause)
Constructs a new guagua runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for runtime exceptions that are little more than wrappers for other throwables.

参数:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)


Copyright © 2014. All Rights Reserved.