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
public class YamcsException extends Exception
Base class for all checked Yamcs exceptions (some day)- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description YamcsException(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)
YamcsException(Throwable t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.protobuf.MessageLite
decodeExtra(com.google.protobuf.MessageLite.Builder b)
byte[]
getExtra()
String
getType()
String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Method Detail
-
getExtra
public byte[] getExtra()
-
getType
public String getType()
-
decodeExtra
public com.google.protobuf.MessageLite decodeExtra(com.google.protobuf.MessageLite.Builder b) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
-