public class ConfigurationWarning extends java.lang.Exception implements Externalizable
| Modifier and Type | Field and Description |
|---|---|
protected int |
defaultOption |
protected java.lang.String |
description |
protected java.lang.String |
id |
protected java.lang.String[] |
options |
| Constructor and Description |
|---|
ConfigurationWarning() |
ConfigurationWarning(java.lang.String $message) |
ConfigurationWarning(java.lang.String $message,
java.lang.String $id,
java.lang.String $description,
java.lang.String[] $options,
int $defaultOption) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultOption()
Returns the index of default option into the array of options, -1 if no default oprion.
|
java.lang.String |
getDescription()
Returns text describing the options included in this warning.
|
java.lang.String |
getId()
Returns unique indentifier of this warning.
|
java.lang.String[] |
getOptions()
Returns string array with available options.
|
void |
readObject(java.io.InputStream is)
Use this method for deserializion of the object state.
|
void |
writeObject(java.io.OutputStream os)
Use this method for serialization of the object state.
|
protected java.lang.String id
protected java.lang.String description
protected java.lang.String[] options
protected int defaultOption
public ConfigurationWarning()
public ConfigurationWarning(java.lang.String $message)
public ConfigurationWarning(java.lang.String $message,
java.lang.String $id,
java.lang.String $description,
java.lang.String[] $options,
int $defaultOption)
public java.lang.String getId()
public java.lang.String getDescription()
public java.lang.String[] getOptions()
public int getDefaultOption()
public void writeObject(java.io.OutputStream os)
throws java.lang.Exception
writeObject in interface Externalizablejava.lang.Exceptionpublic void readObject(java.io.InputStream is)
throws java.lang.Exception
readObject in interface Externalizablejava.lang.ExceptionCopyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.