Package com.microstrategy.web.tags
Class UnmodifiableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.microstrategy.utils.MSTRUncheckedException
-
- com.microstrategy.web.tags.UnmodifiableException
-
- All Implemented Interfaces:
LocalizableException
,java.io.Serializable
public class UnmodifiableException extends MSTRUncheckedException
Thrown when attempting to modify a read-only tag.- Since:
- MicroStrategy Web 8.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnmodifiableException()
Constructor.UnmodifiableException(int code, java.lang.Object[] params, java.lang.Throwable e, java.util.Locale locale)
Deprecated.use other constructor insteadUnmodifiableException(int code, java.lang.Object[] params, java.util.Locale locale)
Deprecated.use other constructor insteadUnmodifiableException(LocalizableMessage errorMsg)
Constructor.UnmodifiableException(LocalizableMessage errorMsg, java.lang.Throwable e)
Constructor.UnmodifiableException(java.lang.String errorMsg)
Constructor.UnmodifiableException(java.lang.String errorMsg, java.lang.Throwable e)
Constructor.UnmodifiableException(java.lang.Throwable e)
Constructor.
-
Method Summary
-
Methods inherited from class com.microstrategy.utils.MSTRUncheckedException
getCause, getDefaultLocale, getErrorCode, getLocalizableMessage, getMessage, getMessage, getRootCause, setCause, setDefaultLocale
-
-
-
-
Constructor Detail
-
UnmodifiableException
public UnmodifiableException(LocalizableMessage errorMsg)
Constructor. The error code is default to zero.- Parameters:
errorMsg
- the localizable error message.
-
UnmodifiableException
public UnmodifiableException(LocalizableMessage errorMsg, java.lang.Throwable e)
Constructor. The error code is default to zero.- Parameters:
errorMsg
- the localizable error message.e
- the cause of the current ArgumentUnresolvedException.
-
UnmodifiableException
public UnmodifiableException(int code, java.lang.Object[] params, java.util.Locale locale)
Deprecated.use other constructor insteadConstructor.- Parameters:
code
- the error code.params
- an array of parameters.locale
- theLocale
used to localize the error message.
-
UnmodifiableException
public UnmodifiableException(int code, java.lang.Object[] params, java.lang.Throwable e, java.util.Locale locale)
Deprecated.use other constructor insteadConstructor.- Parameters:
code
- the error code.params
- an array of parameters.e
- the cause of the current ArgumentUnresolvedException.locale
- theLocale
used to localize the error mesage.
-
UnmodifiableException
public UnmodifiableException()
Constructor.
-
UnmodifiableException
public UnmodifiableException(java.lang.String errorMsg)
Constructor.- Parameters:
errorMsg
- the error message.
-
UnmodifiableException
public UnmodifiableException(java.lang.Throwable e)
Constructor.- Parameters:
e
- the cause of the current ArgumentUnresolvedException.
-
UnmodifiableException
public UnmodifiableException(java.lang.String errorMsg, java.lang.Throwable e)
Constructor.- Parameters:
errorMsg
- the error message.e
- the cause of the current UnmodifiableException.
-
-