Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
3673 connectés 

 


 Mot :   Pseudo :  
  Aller à la page :
 
 Page :   1  2  3  4  5  ..  216  217  218  ..  327  328  329  330  331  332
Auteur Sujet :

BlaBlaTech@JAVA [ELITE, viendez les boobs]

n°1723716
masklinn
í dag viðrar vel til loftárása
Posté le 24-04-2008 à 15:03:59  profilanswer
 

Reprise du message précédent :
Quelqu'un a une liste ou un arbre (d'héritage) des exceptions natives de Java (celles qui sont dans le jdk quoi)


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
mood
Publicité
Posté le 24-04-2008 à 15:03:59  profilanswer
 

n°1723742
kadreg
profil: Utilisateur
Posté le 24-04-2008 à 15:15:29  profilanswer
 

j'en ai 491 :o


---------------
brisez les rêves des gens, il en restera toujours quelque chose...  -- laissez moi troller sur discu !
n°1723757
kadreg
profil: Utilisateur
Posté le 24-04-2008 à 15:22:17  profilanswer
 

Executing macro "DumpAllExceptions" ...
sun.io.MalformedInputException
sun.io.ConversionBufferFullException
sun.io.UnknownCharacterException
sun.java2d.InvalidPipeException
sun.net.TelnetProtocolException
sun.net.ConnectionResetException
sun.misc.CEFormatException
sun.misc.ExtensionInstallationException
sun.misc.REException
sun.misc.InvalidJarIndexException
sun.applet.AppletSecurityException
sun.applet.AppletIllegalArgumentException
sun.applet.AppletIOException
javax.management.JMRuntimeException
javax.management.MalformedObjectNameException
javax.management.InvalidApplicationException
javax.management.BadStringOperationException
javax.management.BadBinaryOpValueExpException
javax.management.IntrospectionException
javax.management.MBeanRegistrationException
javax.management.BadAttributeValueExpException
javax.management.OperationsException
javax.management.RuntimeMBeanException
javax.management.JMException
javax.management.MBeanException
javax.management.InstanceNotFoundException
javax.management.ListenerNotFoundException
javax.management.NotCompliantMBeanException
javax.management.InstanceAlreadyExistsException
javax.management.ReflectionException
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.RuntimeErrorException
javax.management.RuntimeOperationsException
javax.management.ServiceNotFoundException
javax.swing.UnsupportedLookAndFeelException
javax.activity.ActivityRequiredException
javax.activity.InvalidActivityException
javax.activity.ActivityCompletedException
javax.imageio.IIOException
javax.naming.NamingSecurityException
javax.naming.OperationNotSupportedException
javax.naming.AuthenticationNotSupportedException
javax.naming.InterruptedNamingException
javax.naming.CommunicationException
javax.naming.ReferralException
javax.naming.ConfigurationException
javax.naming.LinkLoopException
javax.naming.MalformedLinkException
javax.naming.TimeLimitExceededException
javax.naming.CannotProceedException
javax.naming.NotContextException
javax.naming.SizeLimitExceededException
javax.naming.PartialResultException
javax.naming.NameAlreadyBoundException
javax.naming.AuthenticationException
javax.naming.NamingException
javax.naming.InsufficientResourcesException
javax.naming.ContextNotEmptyException
javax.naming.NoPermissionException
javax.naming.NameNotFoundException
javax.naming.InvalidNameException
javax.naming.LimitExceededException
javax.naming.ServiceUnavailableException
javax.naming.NoInitialContextException
javax.naming.LinkException
javax.print.PrintException
javax.transaction.TransactionRequiredException
javax.transaction.TransactionRolledbackException
javax.transaction.InvalidTransactionException
java.security.UnrecoverableKeyException
java.security.PrivilegedActionException
java.security.ProviderException
java.security.GeneralSecurityException
java.security.SignatureException
java.security.DigestException
java.security.KeyManagementException
java.security.InvalidParameterException
java.security.InvalidKeyException
java.security.NoSuchAlgorithmException
java.security.KeyStoreException
java.security.KeyException
java.security.AccessControlException
java.security.UnrecoverableEntryException
java.security.InvalidAlgorithmParameterException
java.security.NoSuchProviderException
java.awt.FontFormatException
java.awt.IllegalComponentStateException
java.awt.HeadlessException
java.awt.AWTException
java.nio.ReadOnlyBufferException
java.nio.InvalidMarkException
java.nio.BufferUnderflowException
java.nio.BufferOverflowException
java.beans.IntrospectionException
java.beans.PropertyVetoException
java.lang.IllegalArgumentException
java.lang.InstantiationException
java.lang.ArrayIndexOutOfBoundsException
java.lang.UnsupportedOperationException
java.lang.IllegalMonitorStateException
java.lang.NoSuchMethodException
java.lang.RuntimeException
java.lang.SecurityException
java.lang.EnumConstantNotPresentException
java.lang.IndexOutOfBoundsException
java.lang.NullPointerException
java.lang.StringIndexOutOfBoundsException
java.lang.ExceptionInInitializerError
java.lang.ClassCastException
java.lang.IllegalStateException
java.lang.ArithmeticException
java.lang.ClassNotFoundException
java.lang.NoSuchFieldException
java.lang.IllegalAccessException
java.lang.ArrayStoreException
java.lang.NumberFormatException
java.lang.NegativeArraySizeException
java.lang.CloneNotSupportedException
java.lang.Exception
java.lang.IllegalThreadStateException
java.lang.TypeNotPresentException
java.lang.InterruptedException
java.util.IllegalFormatException
java.util.EmptyStackException
java.util.TooManyListenersException
java.util.MissingResourceException
java.util.UnknownFormatConversionException
java.util.FormatFlagsConversionMismatchException
java.util.InputMismatchException
java.util.DuplicateFormatFlagsException
java.util.IllegalFormatFlagsException
java.util.IllegalFormatWidthException
java.util.IllegalFormatConversionException
java.util.MissingFormatArgumentException
java.util.UnknownFormatFlagsException
java.util.InvalidPropertiesFormatException
java.util.IllegalFormatCodePointException
java.util.IllegalFormatPrecisionException
java.util.ConcurrentModificationException
java.util.MissingFormatWidthException
java.util.NoSuchElementException
java.util.FormatterClosedException
java.rmi.ConnectIOException
java.rmi.RemoteException
java.rmi.NoSuchObjectException
java.rmi.RMISecurityException
java.rmi.NotBoundException
java.rmi.AlreadyBoundException
java.rmi.UnknownHostException
java.rmi.AccessException
java.rmi.StubNotFoundException
java.rmi.ServerRuntimeException
java.rmi.ServerException
java.rmi.MarshalException
java.rmi.ConnectException
java.rmi.UnmarshalException
java.rmi.UnexpectedException
java.text.ParseException
java.io.NotSerializableException
java.io.SyncFailedException
java.io.NotActiveException
java.io.StreamCorruptedException
java.io.WriteAbortedException
java.io.InvalidObjectException
java.io.IOException
java.io.UnsupportedEncodingException
java.io.InterruptedIOException
java.io.OptionalDataException
java.io.UTFDataFormatException
java.io.FileNotFoundException
java.io.ObjectStreamException
java.io.CharConversionException
java.io.InvalidClassException
java.io.EOFException
java.sql.SQLException
java.sql.BatchUpdateException
java.net.HttpRetryException
java.net.ProtocolException
java.net.SocketTimeoutException
java.net.UnknownServiceException
java.net.SocketException
java.net.PortUnreachableException
java.net.ConnectException
java.net.URISyntaxException
java.net.UnknownHostException
java.net.NoRouteToHostException
java.net.BindException
java.net.MalformedURLException
sun.nio.ch.AlreadyBoundException
sun.dc.path.PathException
sun.dc.pr.PRException
sun.awt.image.ImageFormatException
sun.security.krb5.KrbCryptoException
sun.security.krb5.Asn1Exception
sun.security.krb5.KrbException
sun.security.krb5.RealmException
sun.security.x509.CertException
sun.security.util.PendingException
sun.security.pkcs.EncodingException
sun.security.pkcs.ParsingException
sun.security.validator.ValidatorException
sun.jdbc.odbc.JdbcOdbcBatchUpdateException
sun.net.www.ApplicationLaunchException
sun.net.smtp.SmtpProtocolException
sun.net.ftp.FtpProtocolException
sun.net.ftp.FtpLoginException
sun.reflect.annotation.ExceptionProxy
sun.reflect.annotation.TypeNotPresentExceptionProxy
sun.reflect.annotation.EnumConstantNotPresentExceptionProxy
sun.tools.jar.JarException
org.omg.CORBA.ExceptionList
org.omg.CORBA.UnknownUserException
org.omg.CORBA.UnknownUserExceptionHolder
org.omg.CORBA.SystemException
org.omg.CORBA.UnknownUserExceptionHelper
org.omg.CORBA.UserException
org.w3c.dom.DOMException
org.xml.sax.SAXException
org.xml.sax.SAXParseException
org.xml.sax.SAXNotSupportedException
org.xml.sax.SAXNotRecognizedException
org.ietf.jgss.GSSException
javax.security.auth.RefreshFailedException
javax.security.auth.DestroyFailedException
javax.security.sasl.SaslException
javax.security.sasl.AuthenticationException
javax.management.openmbean.InvalidOpenTypeException
javax.management.openmbean.KeyAlreadyExistsException
javax.management.openmbean.InvalidKeyException
javax.management.openmbean.OpenDataException
javax.management.remote.JMXServerErrorException
javax.management.remote.JMXProviderException
javax.management.modelmbean.InvalidTargetObjectTypeException
javax.management.modelmbean.XMLParseException
javax.management.relation.RoleInfoNotFoundException
javax.management.relation.RelationException
javax.management.relation.RelationServiceNotRegisteredException
javax.management.relation.RelationNotFoundException
javax.management.relation.InvalidRelationIdException
javax.management.relation.RelationTypeNotFoundException
javax.management.relation.InvalidRelationServiceException
javax.management.relation.RoleNotFoundException
javax.management.relation.InvalidRelationTypeException
javax.management.relation.InvalidRoleInfoException
javax.management.relation.InvalidRoleValueException
javax.management.monitor.MonitorSettingException
javax.swing.text.BadLocationException
javax.swing.text.ChangedCharSetException
javax.swing.tree.ExpandVetoException
javax.swing.undo.CannotRedoException
javax.swing.undo.CannotUndoException
javax.imageio.metadata.IIOInvalidTreeException
javax.naming.ldap.LdapReferralException
javax.naming.directory.InvalidAttributeIdentifierException
javax.naming.directory.AttributeModificationException
javax.naming.directory.InvalidAttributesException
javax.naming.directory.NoSuchAttributeException
javax.naming.directory.AttributeInUseException
javax.naming.directory.InvalidSearchFilterException
javax.naming.directory.SchemaViolationException
javax.naming.directory.InvalidAttributeValueException
javax.naming.directory.InvalidSearchControlsException
javax.naming.event.NamingExceptionEvent
javax.sound.midi.MidiUnavailableException
javax.sound.midi.InvalidMidiDataException
javax.sound.sampled.LineUnavailableException
javax.sound.sampled.UnsupportedAudioFileException
javax.xml.datatype.DatatypeConfigurationException
javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerException
javax.xml.transform.TransformerConfigurationException
javax.xml.xpath.XPathFunctionException
javax.xml.xpath.XPathExpressionException
javax.xml.xpath.XPathFactoryConfigurationException
javax.xml.xpath.XPathException
javax.print.attribute.UnmodifiableSetException
javax.transaction.xa.XAException
java.security.cert.CertificateParsingException
java.security.cert.CRLException
java.security.cert.CertStoreException
java.security.cert.CertificateEncodingException
java.security.cert.CertificateExpiredException
java.security.cert.CertificateException
java.security.cert.CertificateNotYetValidException
java.security.cert.CertPathValidatorException
java.security.cert.CertPathBuilderException
java.security.spec.InvalidKeySpecException
java.security.spec.InvalidParameterSpecException
java.security.acl.AclNotFoundException
java.security.acl.NotOwnerException
java.security.acl.LastOwnerException
java.awt.dnd.InvalidDnDOperationException
java.awt.image.ImagingOpException
java.awt.image.RasterFormatException
java.awt.color.ProfileDataException
java.awt.color.CMMException
java.awt.geom.NoninvertibleTransformException
java.awt.geom.IllegalPathStateException
java.awt.print.PrinterException
java.awt.print.PrinterAbortException
java.awt.print.PrinterIOException
java.awt.datatransfer.UnsupportedFlavorException
java.awt.datatransfer.MimeTypeParseException
java.nio.channels.NotYetBoundException
java.nio.channels.NoConnectionPendingException
java.nio.channels.NotYetConnectedException
java.nio.channels.NonWritableChannelException
java.nio.channels.AsynchronousCloseException
java.nio.channels.ClosedChannelException
java.nio.channels.ConnectionPendingException
java.nio.channels.OverlappingFileLockException
java.nio.channels.UnsupportedAddressTypeException
java.nio.channels.NonReadableChannelException
java.nio.channels.CancelledKeyException
java.nio.channels.UnresolvedAddressException
java.nio.channels.ClosedSelectorException
java.nio.channels.AlreadyConnectedException
java.nio.channels.IllegalBlockingModeException
java.nio.channels.ClosedByInterruptException
java.nio.channels.FileLockInterruptionException
java.nio.channels.IllegalSelectorException
java.nio.charset.MalformedInputException
java.nio.charset.CharacterCodingException
java.nio.charset.IllegalCharsetNameException
java.nio.charset.UnmappableCharacterException
java.nio.charset.UnsupportedCharsetException
java.lang.reflect.MalformedParameterizedTypeException
java.lang.reflect.UndeclaredThrowableException
java.lang.reflect.InvocationTargetException
java.lang.annotation.AnnotationTypeMismatchException
java.lang.annotation.IncompleteAnnotationException
java.lang.instrument.IllegalClassFormatException
java.lang.instrument.UnmodifiableClassException
java.util.zip.ZipException
java.util.zip.DataFormatException
java.util.concurrent.BrokenBarrierException
java.util.concurrent.TimeoutException
java.util.concurrent.RejectedExecutionException
java.util.concurrent.ExecutionException
java.util.concurrent.CancellationException
java.util.prefs.BackingStoreException
java.util.prefs.InvalidPreferencesFormatException
java.util.regex.PatternSyntaxException
java.util.jar.JarException
java.rmi.activation.UnknownObjectException
java.rmi.activation.UnknownGroupException
java.rmi.activation.ActivateFailedException
java.rmi.activation.ActivationException
java.rmi.server.ServerNotActiveException
java.rmi.server.ServerCloneException
java.rmi.server.SkeletonNotFoundException
java.rmi.server.SkeletonMismatchException
java.rmi.server.ExportException
java.rmi.server.SocketSecurityException
com.sun.jmx.snmp.SnmpUnknownMsgProcModelException
com.sun.jmx.snmp.SnmpUnknownModelLcdException
com.sun.jmx.snmp.SnmpUnknownModelException
com.sun.jmx.snmp.SnmpTooBigException
com.sun.jmx.snmp.SnmpStatusException
com.sun.jmx.snmp.SnmpUnknownAccContrModelException
com.sun.jmx.snmp.SnmpUnknownSubSystemException
com.sun.jmx.snmp.BerException
com.sun.jmx.snmp.SnmpUnknownSecModelException
com.sun.jmx.snmp.SnmpSecurityException
com.sun.jmx.snmp.SnmpBadSecurityLevelException
com.sun.jndi.cosnaming.ExceptionMapper
com.sun.jndi.ldap.LdapReferralException
sun.awt.image.PNGImageDecoder.PNGException
sun.security.util.PropertyExpander.ExpandException
sun.security.provider.certpath.SunCertPathBuilderException
sun.security.provider.PolicyParser.ParsingException
sun.management.counter.perf.InstrumentationException
sun.reflect.generics.reflectiveObjects.NotImplementedException
org.omg.CORBA.portable.RemarshalException
org.omg.CORBA.portable.IndirectionException
org.omg.CORBA.portable.UnknownException
org.omg.CORBA.portable.ApplicationException
org.w3c.dom.ranges.RangeException
org.w3c.dom.ls.LSException
org.w3c.dom.events.EventException
javax.sql.rowset.serial.SerialException
javax.sql.rowset.spi.SyncProviderException
javax.sql.rowset.spi.SyncFactoryException
javax.security.auth.callback.UnsupportedCallbackException
javax.security.auth.login.CredentialException
javax.security.auth.login.AccountNotFoundException
javax.security.auth.login.AccountException
javax.security.auth.login.AccountExpiredException
javax.security.auth.login.CredentialExpiredException
javax.security.auth.login.LoginException
javax.security.auth.login.AccountLockedException
javax.security.auth.login.FailedLoginException
javax.security.auth.login.CredentialNotFoundException
com.sun.jmx.snmp.daemon.CommunicationException
com.sun.org.omg.CORBA.ExceptionDescription
com.sun.org.omg.CORBA.ExceptionDescriptionHelper
com.sun.java.browser.dom.DOMUnsupportedException
com.sun.java.browser.dom.DOMAccessException
com.sun.image.codec.jpeg.TruncatedFileException
com.sun.image.codec.jpeg.ImageFormatException
com.sun.corba.se.spi.copyobject.ReflectiveCopyException
com.sun.corba.se.spi.protocol.ForwardException
com.sun.corba.se.impl.corba.ExceptionListImpl
com.sun.corba.se.impl.protocol.RequestCanceledException
com.sun.corba.se.impl.protocol.AddressingDispositionException
com.sun.corba.se.impl.io.TypeMismatchException
com.sun.corba.se.impl.io.OptionalDataException
com.sun.corba.se.impl.logging.POASystemException
com.sun.corba.se.impl.logging.OMGSystemException
com.sun.corba.se.impl.logging.IORSystemException
com.sun.corba.se.impl.logging.InterceptorsSystemException
com.sun.corba.se.impl.logging.ORBUtilSystemException
com.sun.corba.se.impl.logging.NamingSystemException
com.sun.corba.se.impl.logging.UtilSystemException
com.sun.corba.se.impl.logging.ActivationSystemException
com.sun.org.apache.xpath.internal.XPathProcessorException
com.sun.org.apache.xpath.internal.XPathException
com.sun.org.apache.regexp.internal.RESyntaxException
com.sun.corba.se.spi.orbutil.threadpool.NoSuchThreadPoolException
com.sun.corba.se.spi.orbutil.threadpool.NoSuchWorkQueueException
com.sun.corba.se.spi.legacy.connection.GetEndPointInfoAgainException
com.sun.corba.se.impl.presentation.rmi.IDLTypeException
com.sun.corba.se.impl.presentation.rmi.ExceptionHandlerImpl
com.sun.corba.se.impl.orbutil.threadpool.TimeoutException
com.sun.org.apache.bcel.internal.generic.TargetLostException
com.sun.org.apache.bcel.internal.generic.ClassGenException
com.sun.org.apache.bcel.internal.generic.CodeExceptionGen
com.sun.org.apache.bcel.internal.classfile.ExceptionTable
com.sun.org.apache.bcel.internal.classfile.CodeException
com.sun.org.apache.xalan.internal.xsltc.TransletException
com.sun.org.apache.xml.internal.dtm.DTMException
com.sun.org.apache.xml.internal.dtm.DTMConfigurationException
com.sun.org.apache.xml.internal.dtm.DTMDOMException
com.sun.org.apache.xml.internal.utils.WrongParserException
com.sun.org.apache.xml.internal.utils.WrappedRuntimeException
com.sun.org.apache.xml.internal.utils.StopParseException
com.sun.org.apache.xerces.internal.dom.RangeExceptionImpl
com.sun.org.apache.xerces.internal.xs.XSException
com.sun.org.apache.xerces.internal.xni.XNIException
com.sun.org.apache.xpath.internal.functions.WrongNumberArgsException
com.sun.corba.se.impl.presentation.rmi.ExceptionHandlerImpl.ExceptionRWBase
com.sun.corba.se.impl.presentation.rmi.ExceptionHandlerImpl.ExceptionRWIDLImpl
com.sun.corba.se.impl.presentation.rmi.ExceptionHandlerImpl.ExceptionRWRMIImpl
com.sun.org.apache.bcel.internal.verifier.exc.VerificationException
com.sun.org.apache.bcel.internal.verifier.exc.AssertionViolatedException
com.sun.org.apache.bcel.internal.verifier.exc.LinkingConstraintException
com.sun.org.apache.bcel.internal.verifier.exc.VerifierConstraintViolatedException
com.sun.org.apache.bcel.internal.verifier.exc.InvalidMethodException
com.sun.org.apache.bcel.internal.verifier.exc.StaticCodeConstraintException
com.sun.org.apache.bcel.internal.verifier.exc.StaticCodeInstructionOperandConstraintException
com.sun.org.apache.bcel.internal.verifier.exc.LocalVariableInfoInconsistentException
com.sun.org.apache.bcel.internal.verifier.exc.CodeConstraintException
com.sun.org.apache.bcel.internal.verifier.exc.StaticCodeInstructionConstraintException
com.sun.org.apache.bcel.internal.verifier.exc.LoadingException
com.sun.org.apache.bcel.internal.verifier.exc.ClassConstraintException
com.sun.org.apache.bcel.internal.verifier.exc.StructuralCodeConstraintException
com.sun.org.apache.bcel.internal.verifier.structurals.ExceptionHandlers
com.sun.org.apache.bcel.internal.verifier.structurals.ExceptionHandler
com.sun.org.apache.xalan.internal.xsltc.compiler.CompilerException
com.sun.org.apache.xml.internal.utils.URI.MalformedURIException
com.sun.org.apache.xerces.internal.impl.dv.InvalidDatatypeFacetException
com.sun.org.apache.xerces.internal.impl.dv.InvalidDatatypeValueException
com.sun.org.apache.xerces.internal.impl.dv.DatatypeException
com.sun.org.apache.xerces.internal.impl.dv.DVFactoryException
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaException
com.sun.org.apache.xerces.internal.impl.xpath.XPathException
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException
com.sun.org.apache.xerces.internal.util.URI.MalformedURIException
com.sun.org.apache.xerces.internal.dom3.as.DOMASException
com.sun.org.apache.xerces.internal.jaxp.validation.WrappedSAXException
com.sun.org.apache.xerces.internal.xni.parser.XMLConfigurationException
com.sun.org.apache.xerces.internal.xni.parser.XMLParseException
com.sun.org.apache.xalan.internal.xsltc.cmdline.getopt.GetOptsException
com.sun.org.apache.xml.internal.dtm.ref.DTMNamedNodeMap.DTMException
com.sun.org.apache.xerces.internal.impl.dv.xs.SchemaDateTimeException
com.sun.org.apache.xerces.internal.impl.xpath.regex.ParseException
Executing macro "DumpAllExceptions"... done


---------------
brisez les rêves des gens, il en restera toujours quelque chose...  -- laissez moi troller sur discu !
n°1723760
kadreg
profil: Utilisateur
Posté le 24-04-2008 à 15:23:11  profilanswer
 

edit: hummmm, c'est l'ensemble des classes qui s'appellent exception en fait :/ J'ai pas l'arbre d'heritage :/


---------------
brisez les rêves des gens, il en restera toujours quelque chose...  -- laissez moi troller sur discu !
n°1723761
the real m​oins moins
Posté le 24-04-2008 à 15:23:27  profilanswer
 
n°1723762
lorill
Posté le 24-04-2008 à 15:24:05  profilanswer
 

masklinn a écrit :

Quelqu'un a une liste ou un arbre (d'héritage) des exceptions natives de Java (celles qui sont dans le jdk quoi)


eclipse, tu vas dans Exception, et tu regarde la hiérarchie des types...

n°1723764
kadreg
profil: Utilisateur
Posté le 24-04-2008 à 15:24:39  profilanswer
 

Il faudrait que je reverse le JDK [:dawak]


---------------
brisez les rêves des gens, il en restera toujours quelque chose...  -- laissez moi troller sur discu !
n°1723767
the real m​oins moins
Posté le 24-04-2008 à 15:25:08  profilanswer
 

sinon tu ouvres Throwable dans intellij, puis ctrl-H :O


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1723786
masklinn
í dag viðrar vel til loftárása
Posté le 24-04-2008 à 15:37:11  profilanswer
 

lorill a écrit :


eclipse, tu vas dans Exception, et tu regarde la hiérarchie des types...


Ptin ya ça dans IntelliJ aussi [:pingouino]

 

Par contre ça se limite pas aux types du JDK quand je le fais sur mon projet actuel, donc s't'un peu imbitable :(

 

kadreg, Merci, mais bon en fait je cherchais plus un truc genre ce que Python me fournit dans http://docs.python.org/dev/library/exceptions.html:

BaseException
 +-- SystemExit
 +-- KeyboardInterrupt
 +-- GeneratorExit
 +-- Exception
      +-- StopIteration
      +-- StandardError
      |    +-- ArithmeticError
      |    |    +-- FloatingPointError
      |    |    +-- OverflowError
      |    |    +-- ZeroDivisionError
      |    +-- AssertionError
      |    +-- AttributeError
      |    +-- EnvironmentError
      |    |    +-- IOError
      |    |    +-- OSError
      |    |         +-- WindowsError (Windows)
      |    |         +-- VMSError (VMS)
      |    +-- EOFError
      |    +-- ImportError
      |    +-- LookupError
      |    |    +-- IndexError
      |    |    +-- KeyError
      |    +-- MemoryError
      |    +-- NameError
      |    |    +-- UnboundLocalError
      |    +-- ReferenceError
      |    +-- RuntimeError
      |    |    +-- NotImplementedError
      |    +-- SyntaxError
      |    |    +-- IndentationError
      |    |         +-- TabError
      |    +-- SystemError
      |    +-- TypeError
      |    +-- ValueError
      |         +-- UnicodeError
      |              +-- UnicodeDecodeError
      |              +-- UnicodeEncodeError
      |              +-- UnicodeTranslateError
      +-- Warning
           +-- DeprecationWarning
           +-- PendingDeprecationWarning
           +-- RuntimeWarning
           +-- SyntaxWarning
           +-- UserWarning
           +-- FutureWarning
    +-- ImportWarning
    +-- UnicodeWarning
    +-- BytesWarning


(et j'ai fini par trouver l'exception que je cherchais)


Message édité par masklinn le 24-04-2008 à 15:37:42

---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1723927
pactole@
Posté le 24-04-2008 à 17:19:32  profilanswer
 

masklinn a écrit :


Ouais mais vu qu'il n'y a aucune méthode d'init et aucune de nettoyage (release étant appelé à la libération de l'instance), faut faire des trucs dégueus dans doEndTag [:sadnoir]


 
j'avais vu ça, mais il me semble qu'il y a une méthode de nettoyage

mood
Publicité
Posté le 24-04-2008 à 17:19:32  profilanswer
 

n°1723928
the real m​oins moins
Posté le 24-04-2008 à 17:22:07  profilanswer
 

pactole@ a écrit :


 
j'avais vu ça, mais il me semble qu'il y a une méthode de nettoyage


"release étant appelé à la libération de l'instance" (et donc pas apres chaque execution du tag - je l'avais aussi appris de manière douloureuse à l'époque :D)


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1723935
pactole@
Posté le 24-04-2008 à 17:45:41  profilanswer
 

Ce qui est chiant avec les tags c'est de pas pouvoir metre de tags en valeurs d'attributs. Du coup les gorets rajoutent des scriptlets <%= [:vomi] >  partout
Dans les tags que j'avais fait j'avais bidouillé un truc ou il était possible de défenir des valeurs d'attributs d'un tag dans son corp, grace à un tag d'attribut.
Dans weblogic workshop (cette grosse merde) ils font pareil (il m'a semblé, j'ai un peu oublié)

Message cité 2 fois
Message édité par pactole@ le 24-04-2008 à 17:46:40
n°1724002
masklinn
í dag viðrar vel til loftárása
Posté le 24-04-2008 à 20:51:00  profilanswer
 

pactole@ a écrit :

Ce qui est chiant avec les tags c'est de pas pouvoir metre de tags en valeurs d'attributs.


Non, mais on peut mettre de l'EL, donc il faut soit avoir tous les trucs intéressants en fonctions EL soit prévoir de pouvoir binder le retour des tags à une expression el (avec un attribut @var, comme dans la JSTL)


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1724011
nraynaud
lol
Posté le 24-04-2008 à 21:18:42  profilanswer
 

pactole@ a écrit :

Ce qui est chiant avec les tags c'est de pas pouvoir metre de tags en valeurs d'attributs. Du coup les gorets rajoutent des scriptlets <%= [:vomi] >  partout  
Dans les tags que j'avais fait j'avais bidouillé un truc ou il était possible de défenir des valeurs d'attributs d'un tag dans son corp, grace à un tag d'attribut.
Dans weblogic workshop (cette grosse merde) ils font pareil (il m'a semblé, j'ai un peu oublié)


 

Code :
  1. <img src="<%=stat("/static/pen.png" )%>" alt="">


[:dawa]


---------------
trainoo.com, c'est fini
n°1724387
TBone
Qui vivum verrum; vroom vroom.
Posté le 25-04-2008 à 14:07:12  profilanswer
 

Je voudrais copier une liste dans une autre...

 
Code :
  1. Collection<Pouet> source = new ArrayList<Pouet>();
  2.         source.add(new Pouet("p1" ));
  3.         source.add(new Pouet("p2" ));
  4.         source.add(new Pouet("p3" ));
  5.         Collection<Pouet> dest = new ArrayList<Pouet>(source.size());
  6.         //Pouet[] uals = new Pouet[source.size()];
  7.         //dest = Arrays.asList(uals);
  8.         Collections.copy((List<Pouet> )dest, (List<Pouet> )source);


Blam: Exception in thread "main" java.lang.IndexOutOfBoundsException: Source does not fit in dest

 

Ce code ne fonctionne que si je décommente les 2 lignes (ce qui permet de forcer la taille de dest).

 

Est-ce que c'est moi qui lit de travers la javadoc ? Et en particulier:

Citation :

The destination list must be at least as long as the source list. If it is longer, the remaining elements in the destination list are unaffected.

 

edit> car même si je spécifie une destination plus grande que source.size(); ça ne fonctionne pas.
:??:

Message cité 1 fois
Message édité par TBone le 25-04-2008 à 14:08:40

---------------
A straight line is a special case of a curve. It's a curve which is uncurved. -- Susskind.
n°1724390
masklinn
í dag viðrar vel til loftárása
Posté le 25-04-2008 à 14:10:54  profilanswer
 

TBone a écrit :

Je voudrais copier une liste dans une autre...  
 

Code :
  1. Collection<Pouet> source = new ArrayList<Pouet>();
  2.         source.add(new Pouet("p1" ));
  3.         source.add(new Pouet("p2" ));
  4.         source.add(new Pouet("p3" ));
  5.         Collection<Pouet> dest = new ArrayList<Pouet>(source.size());
  6.         //Pouet[] uals = new Pouet[source.size()];
  7.         //dest = Arrays.asList(uals);
  8.         Collections.copy((List<Pouet> )dest, (List<Pouet> )source);


Blam: Exception in thread "main" java.lang.IndexOutOfBoundsException: Source does not fit in dest
 
Ce code ne fonctionne que si je décommente les 2 lignes (ce qui permet de forcer la taille de dest).
 
Est-ce que c'est moi qui lit de travers la javadoc ? Et en particulier:  

Citation :

The destination list must be at least as long as the source list. If it is longer, the remaining elements in the destination list are unaffected.


 
edit> car même si je spécifie une destination plus grande que source.size(); ça ne fonctionne pas.
:??:


Heuuu pourquoi ne pas faire simple?
 

Code :
  1. Collection<Pouet> source = new ArrayList<Pouet>() {{;
  2.        add(new Pouet("p1" ));
  3.        add(new Pouet("p2" ));
  4.        add(new Pouet("p3" ));
  5. }};
  6. Collection<Pouet> dest = new ArrayList<Pouet>(source);


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1724424
the real m​oins moins
Posté le 25-04-2008 à 14:27:47  profilanswer
 

ou dest.addAll(source) si dest existe deja/n'est pas vide ..


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1724434
masklinn
í dag viðrar vel til loftárása
Posté le 25-04-2008 à 14:30:41  profilanswer
 

the real moins moins a écrit :

ou dest.addAll(source) si dest existe deja/n'est pas vide ..


ouais :jap:


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1724478
TBone
Qui vivum verrum; vroom vroom.
Posté le 25-04-2008 à 15:10:22  profilanswer
 

masklinn a écrit :

Heuuu pourquoi ne pas faire simple?


the real moins moins a écrit :

ou dest.addAll(source) si dest existe deja/n'est pas vide ..


autant pour moi, z'avez raison... j'avais pas fait gaffe. :jap:

 

mais sur le fond, c'est moi qui ai mal lu l'API ?

Message cité 1 fois
Message édité par TBone le 25-04-2008 à 15:10:37

---------------
A straight line is a special case of a curve. It's a curve which is uncurved. -- Susskind.
n°1724481
the real m​oins moins
Posté le 25-04-2008 à 15:17:22  profilanswer
 

ouais c'est zarb :O


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1724487
MEI
|DarthPingoo(tm)|
Posté le 25-04-2008 à 15:22:47  profilanswer
 

TBone a écrit :


autant pour moi, z'avez raison... j'avais pas fait gaffe. :jap:
 
mais sur le fond, c'est moi qui ai mal lu l'API ?


Juste comme ça, apres la construction de ta liste, as tu verifie le nombre d'element ?
Parce que pour moi, le constructeur ne fait qu'initialiser le tableau contenant les references des objets a la valeur donné, afin d'evité d'avoir à la recreer trop souvent, et donc de perdre du temps.
 
Alors que copy s'attends sans doute à avoir des objet dedans ? Je crois que c'est copy qui est un peu moisi... :D


---------------
| AMD Ryzen 7 7700X 8C/16T @ 4.5-5.4GHz - 64GB DDR5-6000 30-40-40 1T - AMD Radeon RX 7900 XTX 24GB @ 2680MHz/20Gbps |
n°1724516
TBone
Qui vivum verrum; vroom vroom.
Posté le 25-04-2008 à 15:35:02  profilanswer
 

c'est en effet le copy qui est pas top... car il se base sur size() pour savoir si dest et src sont compatibles en taille.
or, à la création de dest, dest.size() = 0 puisque size() != initialCapacity.
 
:/


---------------
A straight line is a special case of a curve. It's a curve which is uncurved. -- Susskind.
n°1724611
pactole@
Posté le 25-04-2008 à 16:53:53  profilanswer
 

nraynaud a écrit :


 

Code :
  1. <img src="<%=stat("/static/pen.png" )%>" alt="">


[:dawa]


 
et encore, là c'est pas un tag jsp le <img>

n°1724615
pactole@
Posté le 25-04-2008 à 16:56:16  profilanswer
 

brisssou a écrit :

P6Spy, ça marche pas mal.

 
pactole@ a écrit :

 

je suis tombé dessus sur google mais j'ai pas trop compris le principe
si il faut changer le driver ça va pas le faire

 
pactole@ a écrit :

ok alors ça va je peux le mettre en local :jap:

 

Et merde le jdk est trop vieux, avec le 1.3 de ce wsad 5.1 de merde  [:ab1311]
pourtant ça date de 2003 ce truc
il me manque par exemple java.sql.Savepoint [:prozac]

 


edit bon j'ai du adapter le code et ça passe en enlevant les reference au jdk1.4 :o


Message édité par pactole@ le 25-04-2008 à 17:06:11
n°1724621
nraynaud
lol
Posté le 25-04-2008 à 16:59:38  profilanswer
 

pactole@ a écrit :


 
et encore, là c'est pas un tag jsp le <img>


nan, j'utilise struts et le JSTL de struts interdit le code dans les tags. Mais je pense que les tags struts vont péter dans le mois qui vient, ça me convient pas du tout leur truc.


---------------
trainoo.com, c'est fini
n°1724675
the real m​oins moins
Posté le 25-04-2008 à 18:43:33  profilanswer
 

euh.
response.containsHeader("foobar" ) : true
request.getRequestDispatcher("/blah" ).forward(request, response);
et dans "/blah",  
response.containsHeader("foobar" ) : false
wtf [:pingouino dei]


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1725421
pactole@
Posté le 28-04-2008 à 10:20:51  profilanswer
 

the real moins moins a écrit :

euh.
response.containsHeader("foobar" ) : true
request.getRequestDispatcher("/blah" ).forward(request, response);
et dans "/blah",  
response.containsHeader("foobar" ) : false
wtf [:pingouino dei]


 
combien de temps pour en arriver à cette conclusion ? [:joce]

n°1725452
the real m​oins moins
Posté le 28-04-2008 à 10:51:48  profilanswer
 

plait-il?


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1729455
the real m​oins moins
Posté le 07-05-2008 à 12:36:44  profilanswer
 

relou le support java6 sur osx qu'est dispo qu'en 64bits [:icon8]
chuis tenté de l'installer sur le serveur, mais sans l'avoir sur ma propre machine pour tester, j'hésite un peu quand même  [:canaille]

 

qqun sait si ça sera UN JOUR dispo en 32bites? (la preview l'etait, non :??:)

Citation :

This release provides several additional features including support for AppleScript as a javax.script language, new API for altering the application Dock icon

want [:sisicaivrai]

Message cité 1 fois
Message édité par the real moins moins le 07-05-2008 à 12:39:36

---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1729458
masklinn
í dag viðrar vel til loftárása
Posté le 07-05-2008 à 12:39:26  profilanswer
 

the real moins moins a écrit :

qqun sait si ça sera UN JOUR dispo en 32bites? (la preview l'etait, non :??:)


La preview Tiger l'était, la preview Leopard ne l'était pas.
 
Si tu veux un java6 32bits, il faut installer le port FreeBSD qu'un mec a fait (d'après des collègues qui l'utilisent, il fonctionne très bien, le seul truc qui lui manque c'est l'interface Cocoa -- il passe par X et les interfaces sont celles de FreeBSD)
 
D'un autre côté, les seules machines Intel 32bits ce sont les premières génération (celles qui ont des Core), à partir des Core Duo, c'est tout du 64bits non?


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1729463
the real m​oins moins
Posté le 07-05-2008 à 13:04:25  profilanswer
 

comment je fais pour savoir en fait [:canaille]
parce que ouais, ptet faudrait que je pense a updater mon os en fait [:paysan]

Message cité 1 fois
Message édité par the real moins moins le 07-05-2008 à 13:04:54

---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1729478
masklinn
í dag viðrar vel til loftárása
Posté le 07-05-2008 à 13:30:25  profilanswer
 

the real moins moins a écrit :

comment je fais pour savoir en fait [:canaille]


Menu , About this Mac, ça donne ton CPU :o (Core ou Core 2).
 
Ou alors dans le System Profiler.


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1729521
the real m​oins moins
Posté le 07-05-2008 à 14:13:39  profilanswer
 

ben ouais mais ça me dit pas si c'est 64bits. (core 2 duo, certes, mais y'a pas un "truc" pour savoir si un proc est en 64 ou 32bits sans devoir aller voir les specs chez intel?)


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1729526
Jubijub
Parce que je le VD bien
Posté le 07-05-2008 à 14:18:25  profilanswer
 

je crois qu'ils sont tous 64bits...plus précisément ils sont hybrides 32/64 bits


---------------
Jubi Photos : Flickr - 500px
n°1729561
the real m​oins moins
Posté le 07-05-2008 à 15:04:30  profilanswer
 

ça ne répond pas du tout à la question.
 
Rien à voir: je veux l'integration du correcteur orthographique d'osx pour la javadoc dans intellij [:sisicaivrai]


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1729589
masklinn
í dag viðrar vel til loftárása
Posté le 07-05-2008 à 15:36:04  profilanswer
 

the real moins moins a écrit :

ben ouais mais ça me dit pas si c'est 64bits. (core 2 duo, certes, mais y'a pas un "truc" pour savoir si un proc est en 64 ou 32bits sans devoir aller voir les specs chez intel?)


Core 2 Duo = 32 et 64 bits, Léopard gérant ça de manière transparente tu peux installer Java 6 sur ta machine :jap:

the real moins moins a écrit :

Rien à voir: je veux l'integration du correcteur orthographique d'osx pour la javadoc dans intellij [:sisicaivrai]


hahaha [:dawak]
 
ya un plugin Intellij pour avoir du spellchecking


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1729600
the real m​oins moins
Posté le 07-05-2008 à 15:50:33  profilanswer
 

masklinn a écrit :


Core 2 Duo = 32 et 64 bits, Léopard gérant ça de manière transparente tu peux installer Java 6 sur ta machine :jap:

non mais d'accord mais, donc, je dois juste croire ce que me disent les papiers d'intel, y'a pas une commande magique de barbu qui va me sortir cette info ?
 

masklinn a écrit :


hahaha [:dawak]
 
ya un plugin Intellij pour avoir du spellchecking


[:romf]


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1729612
masklinn
í dag viðrar vel til loftárása
Posté le 07-05-2008 à 16:00:31  profilanswer
 

the real moins moins a écrit :

non mais d'accord mais, donc, je dois juste croire ce que me disent les papiers d'intel, y'a pas une commande magique de barbu qui va me sortir cette info ?


[:pingouino]


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1729632
the real m​oins moins
Posté le 07-05-2008 à 16:26:15  profilanswer
 

genre arch, mais en plus détaillé ? [:paysan]


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
n°1729637
masklinn
í dag viðrar vel til loftárása
Posté le 07-05-2008 à 16:30:03  profilanswer
 

Non mais je comprend pas pourquoi tu veux te faire chier avec ça, t'es parano, t'as peur qu'intel et apple te mentent et qu'ils t'aient enlevé des bits, un truc du style [:pingouino dei]


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1729638
the real m​oins moins
Posté le 07-05-2008 à 16:32:05  profilanswer
 

mais non, juste curieux, j'étais étonné de pas voir ça en n/b dans le system profiler en fait.


---------------
Hey toi, tu veux acheter des minifigurines Lego, non ?
mood
Publicité
Posté le   profilanswer
 

 Page :   1  2  3  4  5  ..  216  217  218  ..  327  328  329  330  331  332

Aller à :
Ajouter une réponse
 

Sujets relatifs
[java]Ouvrir un fichier dans la fenetre principaleformation pour developpeurs Java
crontab : programme java[JAVA] Aide pour packager un jar
[java] copie de fichier et progressbarinstallation java
[JAVA]Comment insérer un texte dans un fichier audio?[JAVA] Intégrer ANT : API ou ligne de commande ?
[Java][Bouley]Serializable : mauvaise instanciation des champs[JAVA : JNI] Pb a l'execution avec library
Plus de sujets relatifs à : BlaBlaTech@JAVA [ELITE, viendez les boobs]


Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)