public class

GSSExceptionImpl

extends GSSException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ org.ietf.jgss.GSSException
         ↳ sun.security.mule.jgss.GSSExceptionImpl

Class Overview

This class helps overcome a limitation of the org.ietf.jgss.GSSException class that does not allow the thrower to set a string corresponding to the major code.

Summary

Constants
long serialVersionUID
[Expand]
Inherited Constants
From class org.ietf.jgss.GSSException
From class java.lang.Exception
From class java.lang.Throwable
Fields
private String majorMessage
[Expand]
Inherited Fields
From class org.ietf.jgss.GSSException
From class java.lang.Throwable
Public Constructors
GSSExceptionImpl(int majorCode, String majorMessage)
A constructor that takes the majorCode as well as the message that corresponds to it.
GSSExceptionImpl(int majorCode, Exception cause)
A constructor that takes the majorCode and the exception cause.
GSSExceptionImpl(int majorCode, String majorMessage, Exception cause)
A constructor that takes the majorCode, the message that corresponds to it, and the exception cause.
Public Methods
String getMessage()
Returns the message that was embedded in this object, otherwise it returns the default message that an org.ietf.jgss.GSSException generates.
[Expand]
Inherited Methods
From class org.ietf.jgss.GSSException
From class java.lang.Throwable
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 4251197939069005575 (0x3aff4a007414af07)

Fields

private String majorMessage

Public Constructors

public GSSExceptionImpl (int majorCode, String majorMessage)

A constructor that takes the majorCode as well as the message that corresponds to it.

Parameters
majorCode
majorMessage

public GSSExceptionImpl (int majorCode, Exception cause)

A constructor that takes the majorCode and the exception cause.

Parameters
majorCode
cause

public GSSExceptionImpl (int majorCode, String majorMessage, Exception cause)

A constructor that takes the majorCode, the message that corresponds to it, and the exception cause.

Parameters
majorCode
majorMessage
cause

Public Methods

public String getMessage ()

Returns the message that was embedded in this object, otherwise it returns the default message that an org.ietf.jgss.GSSException generates.