org.gnu.jcifs
Class CifsRuntimeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.gnu.jcifs.CifsRuntimeException

public class CifsRuntimeException
extends java.lang.RuntimeException

Runtime exception class

See Also:
Serialized Form

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
 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

Norbert Hranitzky