Class InvalidObjectIdException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidObjectIdException
    extends java.lang.IllegalArgumentException
    Thrown when an invalid object id is passed in as an argument.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidObjectIdException​(byte[] bytes, int offset, int length)
      Create exception with bytes of the invalid object id.
      InvalidObjectIdException​(java.lang.String id)
      Constructor for InvalidObjectIdException
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.lang.String msg​(byte[] bytes, int offset, int length)  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • InvalidObjectIdException

        public InvalidObjectIdException​(byte[] bytes,
                                        int offset,
                                        int length)
        Create exception with bytes of the invalid object id.
        Parameters:
        bytes - containing the invalid id.
        offset - in the byte array where the error occurred.
        length - of the sequence of invalid bytes.
      • InvalidObjectIdException

        public InvalidObjectIdException​(java.lang.String id)
        Constructor for InvalidObjectIdException
        Parameters:
        id - the invalid id.
        Since:
        4.1
    • Method Detail

      • msg

        private static java.lang.String msg​(byte[] bytes,
                                            int offset,
                                            int length)