| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| public abstract static class | Exceptions.
Base class for generating exception messages that may contain sensitive information which in certain contexts needs to be filtered out, in case it gets revealed in unexpected places. |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static volatile boolean | |
| private static volatile boolean | |
| private static volatile boolean | |
| private static volatile boolean | |
| private static volatile boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static <T extends Exception> T | |
| public static boolean | |
| public static boolean | |
| public static Exceptions. | |
| public static Exceptions. | |
| public static Exceptions. | |
| public static Exceptions. | |
| public static String | formatMsg(String format, Exceptions.
Transform each SensitiveInfo into a String argument which is passed to String.format(). |
| public static String | |
| public static IOException | ioException(IOException e, SocketAddress addr)
The enhanced message text is the socket address appended to the original IOException message |
| private static IOException | |
| private static IOException | |
| public static void | |
| pack-priv static String |
| enhancedJarExceptionText | back to summary |
|---|---|
| private static volatile boolean enhancedJarExceptionText | |
| enhancedNonSocketExceptionText | back to summary |
|---|---|
| private static volatile boolean enhancedNonSocketExceptionText | |
| enhancedSocketExceptionText | back to summary |
|---|---|
| private static volatile boolean enhancedSocketExceptionText | |
| enhancedUserExceptionText | back to summary |
|---|---|
| private static volatile boolean enhancedUserExceptionText | |
| initialized | back to summary |
|---|---|
| private static volatile boolean initialized | |
| Exceptions | back to summary |
|---|---|
| private Exceptions() | |
| create | back to summary |
|---|---|
| private static <T extends Exception> T create(T e, String msg) | |
| enhancedNonSocketExceptions | back to summary |
|---|---|
| public static boolean enhancedNonSocketExceptions() | |
| enhancedSocketExceptions | back to summary |
|---|---|
| public static boolean enhancedSocketExceptions() | |
| filterJarName | back to summary |
|---|---|
| public static Exceptions. | |
| filterNonSocketInfo | back to summary |
|---|---|
| public static Exceptions. | |
| filterSocketInfo | back to summary |
|---|---|
| public static Exceptions. | |
| filterUserName | back to summary |
|---|---|
| public static Exceptions. | |
| formatMsg | back to summary |
|---|---|
| public static String formatMsg(String format, Exceptions. Transform each SensitiveInfo into a String argument which is passed to String.format(). This string is then trimmed. | |
| formatMsg | back to summary |
|---|---|
| public static String formatMsg(Exceptions. Simplification of above. Equivalent to: formatMsg("%s", SensitiveInfo[1]); // ie with one arg | |
| ioException | back to summary |
|---|---|
| public static IOException ioException(IOException e, SocketAddress addr) The enhanced message text is the socket address appended to the original IOException message | |
| ofInet | back to summary |
|---|---|
| private static IOException ofInet(IOException e, InetSocketAddress addr) | |
| ofUnixDomain | back to summary |
|---|---|
| private static IOException ofUnixDomain(IOException e, UnixDomainSocketAddress addr) | |
| setup | back to summary |
|---|---|
| public static void setup() | |
| trim | back to summary |
|---|---|
| pack-priv static String trim(String s) | |
| Modifier and Type | Method and Description |
|---|---|
| public String | output()
Implements abstract jdk. Implementation should call composeFilteredText(boolean flag) where flag contains the boolean value of whether the category is enabled or not. |
| JarInfo | back to summary |
|---|---|
| public JarInfo(String name) | |
| output | back to summary |
|---|---|
| public String output() Implements abstract jdk. Doc from jdk. Implementation should call composeFilteredText(boolean flag) where flag contains the boolean value of whether the category is enabled or not.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | output()
Implements abstract jdk. Implementation should call composeFilteredText(boolean flag) where flag contains the boolean value of whether the category is enabled or not. |
| NonSocketInfo | back to summary |
|---|---|
| public NonSocketInfo(String host) | |
| output | back to summary |
|---|---|
| public String output() Implements abstract jdk. Doc from jdk. Implementation should call composeFilteredText(boolean flag) where flag contains the boolean value of whether the category is enabled or not.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected String | |
| public boolean | |
| public abstract String | output()
Implementation should call composeFilteredText(boolean flag) where flag contains the boolean value of whether the category is enabled or not. |
| public Exceptions. | |
| public Exceptions. | |
| public Exceptions. |
| enhanced | back to summary |
|---|---|
| pack-priv boolean enhanced | |
| info | back to summary |
|---|---|
| pack-priv String info | |
| prefix | back to summary |
|---|---|
| pack-priv String prefix | |
| replacement | back to summary |
|---|---|
| pack-priv String replacement | |
| suffix | back to summary |
|---|---|
| pack-priv String suffix | |
| SensitiveInfo | back to summary |
|---|---|
| pack-priv SensitiveInfo(String info) | |
| composeFilteredText | back to summary |
|---|---|
| protected String composeFilteredText(boolean enhance) | |
| enhanced | back to summary |
|---|---|
| public boolean enhanced() | |
| output | back to summary |
|---|---|
| public abstract String output() Implementation should call composeFilteredText(boolean flag) where flag contains the boolean value of whether the category is enabled or not. | |
| prefixWith | back to summary |
|---|---|
| public Exceptions. | |
| replaceWith | back to summary |
|---|---|
| public Exceptions. | |
| suffixWith | back to summary |
|---|---|
| public Exceptions. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | output()
Implements abstract jdk. Implementation should call composeFilteredText(boolean flag) where flag contains the boolean value of whether the category is enabled or not. |
| SocketInfo | back to summary |
|---|---|
| public SocketInfo(String host) | |
| output | back to summary |
|---|---|
| public String output() Implements abstract jdk. Doc from jdk. Implementation should call composeFilteredText(boolean flag) where flag contains the boolean value of whether the category is enabled or not.
| |
| Modifier and Type | Method and Description |
|---|---|
| public String | output()
Implements abstract jdk. Implementation should call composeFilteredText(boolean flag) where flag contains the boolean value of whether the category is enabled or not. |
| UserInfo | back to summary |
|---|---|
| public UserInfo(String host) | |
| output | back to summary |
|---|---|
| public String output() Implements abstract jdk. Doc from jdk. Implementation should call composeFilteredText(boolean flag) where flag contains the boolean value of whether the category is enabled or not.
| |