com.vmware.vise.core.model
Class MutableMessageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.vmware.vise.core.model.MutableMessageException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DataException
public class MutableMessageException
- extends Exception
Mutable message exception which supports message string to be altered
dynamically.
- See Also:
- Serialized Form
Method Summary |
String |
getMessage()
Returns the detail message string of this exception. |
void |
setMessage(String message)
Sets the new detail message string for this exception. |
MutableMessageException
public MutableMessageException()
MutableMessageException
public MutableMessageException(String message)
- Constructs this mutable message exception.
- Parameters:
message
- fault message
getMessage
public String getMessage()
- Returns the detail message string of this exception.
- Overrides:
getMessage
in class Throwable
- Returns:
- The detail message string of this exception instance.
setMessage
public void setMessage(String message)
- Sets the new detail message string for this exception.
- Parameters:
message
- The new detail message string for this exception.
Copyright @ 2012 VMware, Inc. All rights reserved.