com.versionone.apiclient.exceptions

## Class V1Exception

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - com.versionone.apiclient.exceptions.V1Exception

- All Implemented Interfaces:
    Serializable
  Direct Known Subclasses:
    APIException, AttachmentLengthException, ConnectionException, OidException

      public class V1Exception
      extends Exception

  Base class for all VersionOne Java SDK exceptions
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `V1Exception(String message)` Create with just a message.
    `V1Exception(String message, Exception innerException)` Create with a message and nested exception.

  - ### Method Summary

    - ### 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

    - #### V1Exception

          public V1Exception(String message)

      Create with just a message. Used when the exception is internal.
      Parameters:
        `message` - - String

    - #### V1Exception

          public V1Exception(String message,
                             Exception innerException)

      Create with a message and nested exception. Used when an exception is being re-thrown
      Parameters:
        `message` - - String
        `innerException` - - Exception

Copyright © 2022 VersionOne, Inc.. All rights reserved.