Package org.yamcs

Class 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:
  • Constructor Details

    • YamcsException

      public YamcsException(String message)
    • YamcsException

      public YamcsException(String message, Throwable t)
    • YamcsException

      public YamcsException(Throwable t)
    • YamcsException

      public YamcsException(String type, String message, com.google.protobuf.Message extra)
    • YamcsException

      public YamcsException(String type, String message)
    • YamcsException

      public YamcsException(String type, String message, byte[] extra)
  • Method Details

    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Throwable