Class ProcessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
uk.ac.manchester.spinnaker.transceiver.SpinnmanException
uk.ac.manchester.spinnaker.transceiver.ProcessException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ProcessException.CallerProcessException
,ProcessException.PermanentProcessException
,ProcessException.TransientProcessException
public class ProcessException extends SpinnmanException
Encapsulates exceptions from processes which communicate with some core/chip.
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProcessException.BadChecksum
A process exception cause by the receipt of aSCPResult.RC_SUM
message, indicating that the checksum was wrong.static class
ProcessException.BadCommand
A process exception cause by the receipt of aSCPResult.RC_CMD
message, indicating that the command was not supported by the destination.static class
ProcessException.BadCPUNumber
A process exception cause by the receipt of aSCPResult.RC_CPU
message, indicating that the destination core number was out of range.static class
ProcessException.BadPacketLength
A process exception cause by the receipt of aSCPResult.RC_LEN
message, indicating that the packet length was wrong.static class
ProcessException.BadSCPPort
A process exception cause by the receipt of aSCPResult.RC_PORT
message, indicating that the SCP port was out of range.static class
ProcessException.CallerProcessException
Marks an exception for errors in the message by the caller.static class
ProcessException.DeadDestination
A process exception cause by the receipt of aSCPResult.RC_DEAD
message, indicating that the destination core was not responding to messages from SCAMP.static class
ProcessException.InvalidArguments
A process exception cause by the receipt of aSCPResult.RC_ARG
message, indicating that the arguments to the command are wrong.static class
ProcessException.NoBufferAvailable
A process exception cause by the receipt of aSCPResult.RC_BUF
message, indicating that SCAMP had exhausted its supply of buffers.static class
ProcessException.NoP2PRoute
A process exception cause by the receipt of aSCPResult.RC_ROUTE
message, indicating that messages cannot be directed to that destination for some reason.static class
ProcessException.P2PBusy
A process exception cause by the receipt of aSCPResult.RC_P2P_BUSY
message, indicating that the receiver in the inter-SCAMP messaging was busy.static class
ProcessException.P2PNoReply
A process exception cause by the receipt of aSCPResult.RC_P2P_NOREPLY
message, indicating that the inter-SCAMP messaging failed because the channel open failed.static class
ProcessException.P2PReject
A process exception cause by the receipt of aSCPResult.RC_P2P_REJECT
message, indicating that the receiver in the inter-SCAMP messaging rejected the message.static class
ProcessException.P2PTimedOut
A process exception cause by the receipt of aSCPResult.RC_P2P_TIMEOUT
message, indicating that the receiver in the inter-SCAMP messaging did not respond.static class
ProcessException.PacketTransmissionFailed
A process exception cause by the receipt of aSCPResult.RC_PKT_TX
message, indicating that the packet transmission failed.static class
ProcessException.PermanentProcessException
Marks an exception for a permanent condition.static class
ProcessException.TimedOut
A process exception cause by the receipt of aSCPResult.RC_TIMEOUT
message, indicating that communications timed out.static class
ProcessException.TransientProcessException
Marks an exception for a transient condition. -
Field Summary
Fields Modifier and Type Field Description SCPResult
responseCode
The response that cause this exception to be thrown, if known.SDPLocation
source
Where does the code believe this exception originated? -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
source
Where does the code believe this exception originated? -
responseCode
The response that cause this exception to be thrown, if known. NeverRC_OK
; that doesn't cause exceptions! May benull
if the cause was not identified as an error from SpiNNaker.
-