Skip to content

Instantly share code, notes, and snippets.

View gorohoroh's full-sized avatar

Jura Gorohovsky gorohoroh

View GitHub Profile
@gorohoroh
gorohoroh / ioexception-subclasses.md
Created May 2, 2023 08:35
Java IOException subclasses
IOException (java.io)
    TimestampException in TSResponse (sun.security.timestamp)
    UserPrincipalNotFoundException (java.nio.file.attribute)
    JarException (sun.tools.jar)
    JMXProviderException (javax.management.remote)
    JMXServerErrorException (javax.management.remote)
    MalformedURIException in URI (com.sun.org.apache.xerces.internal.util)
    HttpTimeoutException (java.net.http)
        HttpConnectTimeoutException (java.net.http)
@gorohoroh
gorohoroh / move_initialization_from_constructor_to_field.DotSettings
Last active January 2, 2016 17:39
ReSharper SSR pattern to move initialization from constructor to field
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=0ED1EAF58ECCCD46AC0BC79CED8B37DF/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=0ED1EAF58ECCCD46AC0BC79CED8B37DF/Comment/@EntryValue">Field is initialized in constructor? WTF?!</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=0ED1EAF58ECCCD46AC0BC79CED8B37DF/CustomPatternPlaceholder/=C/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=0ED1EAF58ECCCD46AC0BC79CED8B37DF/CustomPatternPlaceholder/=C/Properties/=CaseSensitive/@EntryIndexedValue">True</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/Struc