public final class FeatureWarning
extends java.lang.Object
implements java.io.Serializable, com.opencloud.util.FastSerializable
Modifier and Type | Class and Description |
---|---|
static class |
FeatureWarning.Cause |
Constructor and Description |
---|
FeatureWarning(java.io.DataInput in)
Deserialise a FastSerialized FeatureWarning.
|
FeatureWarning(FeatureWarning.Cause cause,
java.lang.String explanation)
Create a feature error with an associated cause and explanation
|
Modifier and Type | Method and Description |
---|---|
FeatureWarning.Cause |
getCause() |
java.lang.String |
getExplanation() |
void |
toStream(java.io.DataOutput stream) |
java.lang.String |
toString() |
public FeatureWarning(FeatureWarning.Cause cause, java.lang.String explanation)
cause
- the cause of the errorexplanation
- description of the errorpublic FeatureWarning(java.io.DataInput in) throws java.io.IOException
in
- input stream.java.io.IOException
public FeatureWarning.Cause getCause()
public java.lang.String getExplanation()
public java.lang.String toString()
toString
in class java.lang.Object
public void toStream(java.io.DataOutput stream) throws java.io.IOException
toStream
in interface com.opencloud.util.FastSerializable
java.io.IOException
Copyright © OpenCloud. All Rights Reserved.