de.flexiprovider.common.exceptions
Class BitDoesNotExistException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--de.flexiprovider.common.exceptions.GFException
                          |
                          +--de.flexiprovider.common.exceptions.BitDoesNotExistException
All Implemented Interfaces:
java.io.Serializable

public class BitDoesNotExistException
extends GFException

This exception is thrown, if one bit in a Bitstring shall be modified that does not exist.

See Also:
GF2Polynomial, Serialized Form

Constructor Summary
BitDoesNotExistException()
          Default constructor.
BitDoesNotExistException(int pos)
          Calls the parent-constructor with the message "The given Bit does not" exist and thus cannot be modified: position pos"
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BitDoesNotExistException

public BitDoesNotExistException()
Default constructor. Calls the parent-constructor with the message "The given Bit does not exist and thus cannot be modified"

BitDoesNotExistException

public BitDoesNotExistException(int pos)
Calls the parent-constructor with the message "The given Bit does not" exist and thus cannot be modified: position pos"
Parameters:
pos - the position of the bit to modify