com.spss.psapi.extensions.common

Class ExtensionException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • com.spss.psapi.extensions.common.ExtensionException
  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    DataProviderException


    public class ExtensionException
    extends java.lang.Exception
    Indicates an extension related diagnostic fault occurred.
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  ExtensionException.Diagnostic
      The Diagnostic Class Holds Diagnostic related data.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ExtensionException()
      Creates an ExtensionException instance
      ExtensionException(int severity, java.lang.String detail)
      Creates an ExtensionException instance with one diagnostic entry
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void addDiagnostic(int severity, java.lang.String detail)
      Adds a diagnostic message to the diagnostics list
      java.util.List<ExtensionException.Diagnostic> getDiagnostics()
      The list of diagnostics.
      • 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

      • ExtensionException

        public ExtensionException(int severity,
                          java.lang.String detail)
        Creates an ExtensionException instance with one diagnostic entry
      • ExtensionException

        public ExtensionException()
        Creates an ExtensionException instance
    • Method Detail

      • getDiagnostics

        public java.util.List<ExtensionException.Diagnostic> getDiagnostics()
        The list of diagnostics. Note that the list should be treated as read-only.
        Returns:
        diagnostics
      • addDiagnostic

        public void addDiagnostic(int severity,
                         java.lang.String detail)
        Adds a diagnostic message to the diagnostics list
        Parameters:
        severity -
        detail -

Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.