gov.sns.xal.smf
Class NoSuchChannelException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--gov.sns.xal.smf.NoSuchChannelException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchChannelException
extends java.lang.RuntimeException

NoSuchChannelException is thrown when a channel is requested for a specified handle and either a node or a power supply and no such channel is found.

See Also:
Serialized Form

Constructor Summary
NoSuchChannelException()
          Creates new NoSuchChannelException without detail message.
NoSuchChannelException(AcceleratorNode node, java.lang.String handle)
          NoSuchChannelException constructor for a missing channel corresponding to the specified node and handle.
NoSuchChannelException(MagnetPowerSupply powerSupply, java.lang.String handle)
          NoSuchChannelException constructor for a missing channel corresponding to the specified powerSupply and handle.
NoSuchChannelException(java.lang.String msg)
          Constructs an NoSuchChannelException with the specified detail message.
NoSuchChannelException(TimingCenter timingCenter, java.lang.String handle)
          NoSuchChannelException constructor for a missing channel corresponding to the specified timing center and handle.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoSuchChannelException

public NoSuchChannelException()
Creates new NoSuchChannelException without detail message.


NoSuchChannelException

public NoSuchChannelException(java.lang.String msg)
Constructs an NoSuchChannelException with the specified detail message.

Parameters:
msg - the detail message.

NoSuchChannelException

public NoSuchChannelException(AcceleratorNode node,
                              java.lang.String handle)
NoSuchChannelException constructor for a missing channel corresponding to the specified node and handle.

Parameters:
node - The node where to find the channel
handle - The node's handle for the channel

NoSuchChannelException

public NoSuchChannelException(MagnetPowerSupply powerSupply,
                              java.lang.String handle)
NoSuchChannelException constructor for a missing channel corresponding to the specified powerSupply and handle.

Parameters:
powerSupply - The node where to find the channel
handle - The handle for the channel

NoSuchChannelException

public NoSuchChannelException(TimingCenter timingCenter,
                              java.lang.String handle)
NoSuchChannelException constructor for a missing channel corresponding to the specified timing center and handle.

Parameters:
timingCenter - The timingCenter where to find the channel
handle - The handle for the channel