ml.shifu.guagua
类 GuaguaException

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

public class GuaguaException
extends IOException

GuaguaException is checked exception in guagua framework.

另请参见:
序列化表格

构造方法摘要
GuaguaException()
          Constructs an GuaguaException with null as its error detail message.
GuaguaException(String message)
          Constructs an GuaguaException with the specified detail message.
GuaguaException(String message, Throwable cause)
          Constructs an GuaguaException with the specified detail message and cause.
GuaguaException(Throwable cause)
          Constructs an GuaguaException with the specified cause and a detail message of {@code (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
 

构造方法详细信息

GuaguaException

public GuaguaException()
Constructs an GuaguaException with null as its error detail message.


GuaguaException

public GuaguaException(String message)
Constructs an GuaguaException with the specified detail message.

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

GuaguaException

public GuaguaException(String message,
                       Throwable cause)
Constructs an GuaguaException with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated into this 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.)

GuaguaException

public GuaguaException(Throwable cause)
Constructs an GuaguaException 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 IO 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 © 2015. All Rights Reserved.