Package org.yamcs
Class YamcsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.yamcs.YamcsException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AlarmSequenceException
,CouldNotAcknowledgeAlarmException
,ErrorInCommand
,InitException
,NoPermissionException
,PluginException
,ProcessorException
,ValidationException
Base class for all checked Yamcs exceptions (some day)
- See Also:
-
Constructor Summary
ConstructorDescriptionYamcsException
(String message) YamcsException
(String type, String message) YamcsException
(String type, String message, byte[] extra) YamcsException
(String type, String message, com.google.protobuf.Message extra) YamcsException
(String message, Throwable t) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
YamcsException
-
YamcsException
-
YamcsException
-
YamcsException
-
YamcsException
-
YamcsException
-
-
Method Details
-
getExtra
public byte[] getExtra() -
getType
-
decodeExtra
public com.google.protobuf.MessageLite decodeExtra(com.google.protobuf.MessageLite.Builder b) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
toString
-