disman
Class ScriptEnableException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--disman.DismanException
                    |
                    +--disman.ScriptEnableException

public class ScriptEnableException
extends DismanException

This class represents the exception that may be thrown by several methods of classes of the disman package. This exception indicates, that enabling a script failed leading to a smScriptOperStatus of noSuchScript(6), accessDenied(7), wrongLanguage(8) or wrongVersion(9).

See Also:
Serialized Form

Constructor Summary
ScriptEnableException(int status, java.lang.String msg)
          Constructs an ScriptEnableException with the specified detail message and the operation status of the entry that could not get enabled.
 
Method Summary
 int getStatus()
          Get the smScriptOperStatus.
 java.lang.String getStatusString()
          Get the string representation of the smScriptOperStatus.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScriptEnableException

public ScriptEnableException(int status,
                             java.lang.String msg)
Constructs an ScriptEnableException with the specified detail message and the operation status of the entry that could not get enabled.
Method Detail

getStatus

public int getStatus()
Get the smScriptOperStatus.

getStatusString

public java.lang.String getStatusString()
Get the string representation of the smScriptOperStatus.