cn.com.believer.songyuanframework.openapi.storage.box.objects
Class BoxException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by cn.com.believer.songyuanframework.openapi.storage.box.objects.BoxException
All Implemented Interfaces:
java.io.Serializable

public class BoxException
extends java.lang.Exception

Author:
Jimmy
See Also:
Serialized Form

Constructor Summary
BoxException()
           
BoxException(java.lang.String message)
           
BoxException(java.lang.String message, java.lang.Throwable nestedException)
           
BoxException(java.lang.Throwable nestedException)
           
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.Throwable getNestedException()
           
 java.lang.String getStatus()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream out)
           
 void printStackTrace(java.io.PrintWriter writer)
           
 void setStatus(java.lang.String status)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BoxException

public BoxException()

BoxException

public BoxException(java.lang.String message)
Parameters:
message - exception message

BoxException

public BoxException(java.lang.Throwable nestedException)
Parameters:
nestedException - nested exception

BoxException

public BoxException(java.lang.String message,
                    java.lang.Throwable nestedException)
Parameters:
message - exception message
nestedException - nested exception
Method Detail

getNestedException

public java.lang.Throwable getNestedException()
Returns:
nested exception

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable
Returns:
exception message

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream out)
Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
out - print stream to be output

printStackTrace

public void printStackTrace(java.io.PrintWriter writer)
Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
writer - writer to be output

getStatus

public java.lang.String getStatus()
Returns:
the status

setStatus

public void setStatus(java.lang.String status)
Parameters:
status - the status to set