org.gnu.jcifs
Class CifsRuntimeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.gnu.jcifs.CifsRuntimeException
All Implemented Interfaces:
java.io.Serializable

public class CifsRuntimeException
extends java.lang.RuntimeException

Runtime exception class

See Also:
Serialized Form

Field Summary
protected  java.lang.String fCode
           
protected  java.lang.String fText
           
 
Constructor Summary
CifsRuntimeException(java.lang.String key)
           
CifsRuntimeException(java.lang.String msg, boolean key)
           
CifsRuntimeException(java.lang.String key, java.lang.Object i1)
           
CifsRuntimeException(java.lang.String key, java.lang.Object i1, java.lang.Object i2)
           
 
Method Summary
(package private) static void ()
           
 java.lang.Throwable getDetail()
          Returns the encapsulated exception (optional)
 java.lang.String getMessage()
          Produce the message, include the message from the nested exception if there is one.
static java.lang.String getMessage(java.lang.String key)
           
static java.lang.String getMessage(java.lang.String key, java.lang.Object i1)
           
static java.lang.String getMessage(java.lang.String key, java.lang.Object i1, java.lang.Object i2)
           
 CifsRuntimeException setDetail(java.lang.Throwable detail)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fText

protected java.lang.String fText

fCode

protected java.lang.String fCode
Constructor Detail

CifsRuntimeException

public CifsRuntimeException(java.lang.String msg,
                            boolean key)

CifsRuntimeException

public CifsRuntimeException(java.lang.String key)

CifsRuntimeException

public CifsRuntimeException(java.lang.String key,
                            java.lang.Object i1)

CifsRuntimeException

public CifsRuntimeException(java.lang.String key,
                            java.lang.Object i1,
                            java.lang.Object i2)
Method Detail

setDetail

public CifsRuntimeException setDetail(java.lang.Throwable detail)

getDetail

public java.lang.Throwable getDetail()
Returns the encapsulated exception (optional)
Returns:
exception

getMessage

public static java.lang.String getMessage(java.lang.String key)

getMessage

public static java.lang.String getMessage(java.lang.String key,
                                          java.lang.Object i1)

getMessage

public static java.lang.String getMessage(java.lang.String key,
                                          java.lang.Object i1,
                                          java.lang.Object i2)

getMessage

public java.lang.String getMessage()
Produce the message, include the message from the nested exception if there is one.
Overrides:
getMessage in class java.lang.Throwable

static void ()